Index: build/util/lastchange.py |
diff --git a/build/util/lastchange.py b/build/util/lastchange.py |
index e213d8b292fd00b3ccd4304349e445a1eeda3e7d..75176f0737a7f5f00c5b739142ca1254b0ac2e2a 100755 |
--- a/build/util/lastchange.py |
+++ b/build/util/lastchange.py |
@@ -115,7 +115,9 @@ def IsGitSVN(directory): |
# svn-related configuration. This command exits with an error code |
# if there aren't any matches, so ignore its output. |
proc = RunGitCommand(directory, ['config', '--get-regexp', '^svn']) |
- return (proc.wait() == 0) |
+ if proc: |
+ return (proc.wait() == 0) |
+ return false |
fta
2011/03/03 12:54:40
must be "False" instead
|
def FetchGitSVNURL(directory): |