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

Unified Diff: trychange.py

Issue 391072: Fix 2 recently introduced errors. (Closed)
Patch Set: Created 11 years, 1 month 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 | « scm.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trychange.py
diff --git a/trychange.py b/trychange.py
index a1c1de3585abd7add277122d54820d3e5734ac9e..65e935a08a9b55c8c3ad62f3b075fa6bd0d03616 100755
--- a/trychange.py
+++ b/trychange.py
@@ -151,7 +151,7 @@ class SVN(SCM):
os.chdir(root)
# Directories will return None so filter them out.
- diff = filter(None, [scm.SVN.Diff(f) for f in files])
+ diff = filter(None, [scm.SVN.DiffItem(f) for f in files])
os.chdir(previous_cwd)
return "".join(diff)
« no previous file with comments | « scm.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698