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

Unified Diff: roll_dep.py

Issue 686183003: Fix handling of ast.Str object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 2 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: roll_dep.py
diff --git a/roll_dep.py b/roll_dep.py
index 1144d78a20efa18831ec78fac82262e48d24ca90..6fcf4e21035f296a67be7b336e0e45bce8a058fd 100755
--- a/roll_dep.py
+++ b/roll_dep.py
@@ -324,7 +324,7 @@ def update_deps(deps_file, dep_path, dep_name, new_rev, comment):
else:
update_deps_entry(deps_lines, deps_ast, value_node, new_rev, comment)
commit_msg = generate_commit_message(
- deps_locals['deps_os'][os_name], dep_path, dep_name, new_rev)
+ deps_locals['deps_os'][os_name.s], dep_path, dep_name, new_rev)
if commit_msg:
print 'Pinning %s' % dep_name
print 'to revision %s' % new_rev
« 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