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

Unified Diff: sitescripts/stats/bin/pagegenerator.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
« no previous file with comments | « sitescripts/stats/bin/logprocessor.py ('k') | sitescripts/stats/test/common.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/stats/bin/pagegenerator.py
===================================================================
--- a/sitescripts/stats/bin/pagegenerator.py
+++ b/sitescripts/stats/bin/pagegenerator.py
@@ -89,7 +89,7 @@
'data': data,
'fields': common.fields,
'filter': filter,
- 'filtered_urls': filtered_urls
+ 'filtered_urls': filtered_urls,
}).dump(outputfile, encoding='utf-8')
@@ -98,7 +98,7 @@
get_file_overview_template().stream({
'now': time.time(),
'url': url,
- 'data': data
+ 'data': data,
}).dump(outputfile, encoding='utf-8')
« no previous file with comments | « sitescripts/stats/bin/logprocessor.py ('k') | sitescripts/stats/test/common.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld