Kaydet (Commit) bcfa4b47 authored tarafından Enrico Tröger's avatar Enrico Tröger

If no SVN revision is found, return -1 instead of 0

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5982 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 9b054cfe
...@@ -652,7 +652,7 @@ def _get_svn_rev(conf): ...@@ -652,7 +652,7 @@ def _get_svn_rev(conf):
pass pass
except (IndexError, ValueError): except (IndexError, ValueError):
Logs.pprint('RED', 'Unparseable revision number') Logs.pprint('RED', 'Unparseable revision number')
return 0 return -1
def _load_intltool_if_available(conf): def _load_intltool_if_available(conf):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment