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

Unified Diff: tools/list_pkg_directories.py

Issue 18238010: Adjust list_pkg_directories to always have / slashes so that we don't accidentally create escape ch… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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: tools/list_pkg_directories.py
diff --git a/tools/list_pkg_directories.py b/tools/list_pkg_directories.py
index 360a3536775142e1d1a80b53bfed6da97399c874..f1b69f19623218478f3da1912f67df13f29e0ae6 100644
--- a/tools/list_pkg_directories.py
+++ b/tools/list_pkg_directories.py
@@ -20,7 +20,7 @@ def main(argv):
os.path.join(directory, x)), os.listdir(directory)))
for lib in filter(lambda x: os.path.exists(os.path.join(directory, x)),
paths):
- print os.path.join(directory, lib)
+ print '%s/%s' % (directory, lib)
if __name__ == '__main__':
sys.exit(main(sys.argv))
« 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