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

Unified Diff: localeTools.py

Issue 29756673: Noissue - Adapt best practices for trailing commas (buildtools) (Closed)
Patch Set: Re-run script on Python 2, added flake8-commas extension Created April 19, 2018, 2:09 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 | « ensure_dependencies.py ('k') | packagerChrome.py » ('j') | tox.ini » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: localeTools.py
===================================================================
--- a/localeTools.py
+++ b/localeTools.py
@@ -53,7 +53,7 @@
baseDir, *metadata.get('locales', 'base_path').split('/')
)
localeConfig = {
- 'default_locale': metadata.get('locales', 'default_locale')
+ 'default_locale': metadata.get('locales', 'default_locale'),
}
localeConfig['base_path'] = localeDir
@@ -193,7 +193,7 @@
StringIO(body),
{
'Content-Type': 'multipart/form-data; boundary=' + boundary,
- 'Content-Length': len(body)
+ 'Content-Length': len(body),
},
)
« no previous file with comments | « ensure_dependencies.py ('k') | packagerChrome.py » ('j') | tox.ini » ('J')

Powered by Google App Engine
This is Rietveld