Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/hg/bin/update_issues.py

Issue 29756646: Noissue - Adapt best practices for trailing commas (abpssembly) (Closed)
Patch Set: Re-run script on Python 2, added flake8-commas extension Created April 19, 2018, 2:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sitescripts/formmail/web/formmail2.py ('k') | sitescripts/hg/test/update_issues.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/hg/bin/update_issues.py
===================================================================
--- a/sitescripts/hg/bin/update_issues.py
+++ b/sitescripts/hg/bin/update_issues.py
@@ -84,7 +84,7 @@
comment_text = template.render({
'repository_name': repo_name,
'changes': ref.commits,
- 'format_description': _format_description
+ 'format_description': _format_description,
})
with _trac_proxy(ui, config, 'getting issue {}'.format(ref.id)) as tp:
attrs = tp.ticket.get(ref.id)[3]
@@ -138,7 +138,7 @@
attrs = tp.ticket.get(ref.id)[3]
changes = {
'_ts': attrs['_ts'],
- 'action': 'leave'
+ 'action': 'leave',
}
actions = tp.ticket.getActions(ref.id)
if any(action[0] == 'resolve' for action in actions):
« no previous file with comments | « sitescripts/formmail/web/formmail2.py ('k') | sitescripts/hg/test/update_issues.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld