Fix use of nonexistant function
This commit is contained in:
parent
ee0c7c1af5
commit
121ae0c220
@ -19,7 +19,7 @@ def get_version():
|
|||||||
try:
|
try:
|
||||||
return get_git_version()
|
return get_git_version()
|
||||||
except EnvironmentError:
|
except EnvironmentError:
|
||||||
return get_plain_version()
|
return __version__
|
||||||
|
|
||||||
def get_git_version():
|
def get_git_version():
|
||||||
process = Popen(['git', 'describe'], stdout=PIPE, stderr=PIPE)
|
process = Popen(['git', 'describe'], stdout=PIPE, stderr=PIPE)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user