summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/util/lastchange.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/util/lastchange.py b/build/util/lastchange.py
index e213d8b..75176f0 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
def FetchGitSVNURL(directory):