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

Unified Diff: runtime/tools/create_resources.py

Issue 317873003: Rewrite Windows path separator to be Unix path separator in Observatory resource bundle (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/create_resources.py
diff --git a/runtime/tools/create_resources.py b/runtime/tools/create_resources.py
index b4f7fa8d4a5ce044f546d86ae6a2a8816e403196..e5503be51aeefc6640475fd80648eed4300cdb82 100644
--- a/runtime/tools/create_resources.py
+++ b/runtime/tools/create_resources.py
@@ -40,7 +40,7 @@ def makeResources(root_dir, input_files, table_name):
if lineCounter != 0:
result += '\n '
result += ' 0\n};\n\n'
- resource_url_scrubbed = re.sub(r'\\', '', resource_url)
+ resource_url_scrubbed = re.sub(r'\\', '/', resource_url)
resources.append(
(resource_url_scrubbed, resource_name, os.stat(resource_file).st_size));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698