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

Unified Diff: sitescripts/reports/bin/parseNewReports.py

Issue 29569566: Noissue - Replace flake8-putty with flake8-per-file-ignores, update to flake8 3 (sitescripts) (Closed)
Patch Set: Created Oct. 8, 2017, 6:02 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/reports/bin/mailDigests.py ('k') | sitescripts/reports/bin/processReports.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/reports/bin/parseNewReports.py
===================================================================
--- a/sitescripts/reports/bin/parseNewReports.py
+++ b/sitescripts/reports/bin/parseNewReports.py
@@ -283,6 +283,7 @@
data[key] = data[key][0:limit] + u'\u2026'
reportData['warnings'][keyPath] = 'Field %s exceeded length limit and was truncated' % keyPath
+
if __name__ == '__main__':
setupStderr()
scanReports(get_config().get('reports', 'dataPath'))
« no previous file with comments | « sitescripts/reports/bin/mailDigests.py ('k') | sitescripts/reports/bin/processReports.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld