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

Unified Diff: sitescripts/templateFilters.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/subscriptions/combineSubscriptions.py ('k') | sitescripts/urlfixer/bin/forceDomains.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/templateFilters.py
===================================================================
--- a/sitescripts/templateFilters.py
+++ b/sitescripts/templateFilters.py
@@ -187,6 +187,7 @@
def toJSON(value, **args):
return re.sub(r'</script>', r'<\/script>', json.dumps(value, **args))
+
filters = {
'formattime': formattime,
'timerelative': formatrelativetime,
« no previous file with comments | « sitescripts/subscriptions/combineSubscriptions.py ('k') | sitescripts/urlfixer/bin/forceDomains.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld