Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(992)

Unified Diff: scripts/build/text2html.py

Issue 573340043: Run 2to3 --write --nobackups . (Closed)
Patch Set: Remove coverage.py Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/build/texi2omf.py ('k') | scripts/build/website_post.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/build/text2html.py
diff --git a/scripts/build/text2html.py b/scripts/build/text2html.py
index 01b6b0d6497621fcee85dcd7e1f14e90a55804b5..fe578385cee5ffc03dbe7146deb39be83d1620f1 100644
--- a/scripts/build/text2html.py
+++ b/scripts/build/text2html.py
@@ -13,7 +13,7 @@ entities = {
}
def txt2html (s):
- for i in entities.keys ():
+ for i in list(entities.keys ()):
s = re.sub (i, '\001' + entities[i] + ';', s);
s = re.sub ('\001', '&', s);
return s
« no previous file with comments | « scripts/build/texi2omf.py ('k') | scripts/build/website_post.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b