Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: tools/grit/grit/gather/muppet_strings.py

Issue 6134006: Integrate user strings into the JSON policy template file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/grit/grit/gather/muppet_strings.py
diff --git a/tools/grit/grit/gather/muppet_strings.py b/tools/grit/grit/gather/muppet_strings.py
index 545b1292e7e86242e4933247653866f522742953..119f851e6fbb6ff6ede3a55fa96da69cb9a0de2e 100644
--- a/tools/grit/grit/gather/muppet_strings.py
+++ b/tools/grit/grit/gather/muppet_strings.py
@@ -121,6 +121,7 @@ class MuppetStrings(regexp.RegexpGatherer):
def Parse(self):
if (self.have_parsed_):
return
+ self.have_parsed_ = True
self._AddNontranslateableChunk(u'<strings>\n')
stream = StringIO.StringIO(self.text_)
handler = MuppetStringsContentHandler(self)
« no previous file with comments | « tools/grit/grit/format/policy_templates/writers/writer_unittest_common.py ('k') | tools/grit/grit/gather/policy_json.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698