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

Unified Diff: wtf

Issue 10917220: fix wtf crash when deps entry is at None (Closed) Base URL: https://git.chromium.org/chromium/tools/depot_tools.git@master
Patch Set: Created 8 years, 3 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: wtf
diff --git a/wtf b/wtf
index 79fbaf39903c8381ffb58e89866eb66644147dfe..23b4f483db419fa6e33b2264530a812e68ec5f87 100755
--- a/wtf
+++ b/wtf
@@ -64,7 +64,7 @@ def main():
root, entries = gclient_utils.GetGClientRootAndEntries()
# which entries map to a git repos?
- raw = [k for k, v in entries.items() if not re.search('svn', v)]
+ raw = [k for k, v in entries.items() if v and not re.search('svn', v)]
M-A Ruel 2012/09/12 20:34:14 raw = sorted(k for k, v in entries.itermitems() if
raw.sort()
# We want to use the full path for testing, but we want to use the relative
« 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