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

Unified Diff: src/caterpillar.py

Issue 1665103002: Removed replacing double- with single-quotes in app.info generation. Resolves #40. (Closed) Base URL: https://github.com/chromium/caterpillar.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | src/caterpillar_test.py » ('j') | src/caterpillar_test.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/caterpillar.py
diff --git a/src/caterpillar.py b/src/caterpillar.py
index 1d6f54cc3e08dab614b38a52ee4b9e532a074c97..2c5e548354aa5cc5dee87994d71d5c5454e03f36 100755
--- a/src/caterpillar.py
+++ b/src/caterpillar.py
@@ -462,7 +462,7 @@ def add_app_info(output_dir, chrome_app_manifest):
"""
logging.debug('Generating app info script.')
js_manifest = json.dumps(chrome_app_manifest, sort_keys=True, indent=2,
- separators=(',', ': ')).replace('"', "'")
+ separators=(',', ': '))
app_info_js = ('chrome.caterpillar.manifest = {manifest};\n').format(
manifest=js_manifest)
app_info_path = os.path.join(output_dir, INFO_SCRIPT_NAME)
« no previous file with comments | « no previous file | src/caterpillar_test.py » ('j') | src/caterpillar_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698