Fix use of nonexistant function

This commit is contained in:
Stein Magnus Jodal 2012-03-06 11:18:10 +01:00
parent ee0c7c1af5
commit 121ae0c220

View File

@ -19,7 +19,7 @@ def get_version():
try:
return get_git_version()
except EnvironmentError:
return get_plain_version()
return __version__
def get_git_version():
process = Popen(['git', 'describe'], stdout=PIPE, stderr=PIPE)