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

Unified Diff: sitescripts/management/bin/generateHgAuth.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/hg/test/update_issues.py ('k') | sitescripts/management/bin/generateNotifications.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/management/bin/generateHgAuth.py
===================================================================
--- a/sitescripts/management/bin/generateHgAuth.py
+++ b/sitescripts/management/bin/generateHgAuth.py
@@ -47,7 +47,7 @@
'keytype': 'rsa',
'disabled': False,
'trusted': False,
- 'repos': []
+ 'repos': [],
}
for option in options:
if option == 'dsa':
@@ -84,7 +84,7 @@
user['name'] if not user['trusted'] else '',
' '.join(user['repos']),
'ssh-rsa' if user['keytype'] == 'rsa' else 'ssh-dss',
- user['key']
+ user['key'],
)
« no previous file with comments | « sitescripts/hg/test/update_issues.py ('k') | sitescripts/management/bin/generateNotifications.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld