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

Unified Diff: sitescripts/management/bin/generateNotifications.py

Issue 29756624: Noissue - Adapt best practices for trailing commas (sitescripts) (Closed)
Patch Set: Created April 19, 2018, 12:40 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/management/bin/generateHgAuth.py ('k') | sitescripts/notifications/test/notification.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/management/bin/generateNotifications.py
===================================================================
--- a/sitescripts/management/bin/generateNotifications.py
+++ b/sitescripts/management/bin/generateNotifications.py
@@ -28,7 +28,7 @@
notifications = [x for x in notifications if 'variants' in x]
output = {
'notifications': notifications,
- 'version': time.strftime('%Y%m%d%H%M', time.gmtime())
+ 'version': time.strftime('%Y%m%d%H%M', time.gmtime()),
}
with codecs.open(path, 'wb', encoding='utf-8') as file:
json.dump(output, file, ensure_ascii=False, indent=2,
« no previous file with comments | « sitescripts/management/bin/generateHgAuth.py ('k') | sitescripts/notifications/test/notification.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld