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

Unified Diff: cms/bin/translate.py

Issue 29569602: Noissue - Replace flake8-putty with flake8-per-file-ignores, update to flake8 3 (cms) (Closed)
Patch Set: Created Oct. 8, 2017, 6: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 | « cms/bin/test_server.py ('k') | cms/converters.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cms/bin/translate.py
===================================================================
--- a/cms/bin/translate.py
+++ b/cms/bin/translate.py
@@ -325,6 +325,7 @@
download_translations(crowdin_api, source_dir, required_locales)
logger.info('Crowdin sync completed.')
+
if __name__ == '__main__':
if len(sys.argv) < 3:
print >>sys.stderr, 'Usage: python -m cms.bin.translate www_directory crowdin_project_api_key [logging_level]'
« no previous file with comments | « cms/bin/test_server.py ('k') | cms/converters.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld