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

Unified Diff: sitescripts/extensions/utils.py

Issue 29756624: Noissue - Adapt best practices for trailing commas (sitescripts) (Closed)
Patch Set: Re-run script on Python 2, added flake8-commas extension Created April 19, 2018, 2:35 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
Index: sitescripts/extensions/utils.py
===================================================================
--- a/sitescripts/extensions/utils.py
+++ b/sitescripts/extensions/utils.py
@@ -36,7 +36,7 @@
'safari': '.safariextz',
'ie': '.exe',
'android': '.apk',
- 'edge': '.appx'
+ 'edge': '.appx',
}
@@ -379,11 +379,11 @@
version = extension['version']
updates['%s/%s' % (basename, 'msie64')] = {
'url': updateURL.replace('.exe', '-x64.msi'),
- 'version': version
+ 'version': version,
}
updates['%s/%s' % (basename, 'msie32')] = {
'url': updateURL.replace('.exe', '-x86.msi'),
- 'version': version
+ 'version': version,
}
writeLibabpUpdateManifest(path, updates)
@@ -400,6 +400,6 @@
for extension in extensions:
updates[extension['basename']] = {
'url': extension['updateURL'],
- 'version': extension['version']
+ 'version': extension['version'],
}
writeLibabpUpdateManifest(path, updates)
« no previous file with comments | « sitescripts/extensions/bin/updateUpdateManifests.py ('k') | sitescripts/extensions/web/adblockbrowserUpdates.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld