projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c7d3c2a
)
this_version.py: remove global, not needed
author
Paul Brossier
<piem@piem.org>
Thu, 23 Mar 2017 15:36:20 +0000
(16:36 +0100)
committer
Paul Brossier
<piem@piem.org>
Thu, 23 Mar 2017 15:36:20 +0000
(16:36 +0100)
this_version.py
patch
|
blob
|
history
diff --git
a/this_version.py
b/this_version.py
index
d8352e6
..
14a1a71
100644
(file)
--- a/
this_version.py
+++ b/
this_version.py
@@
-9,7
+9,6
@@
def get_version_info():
# read from VERSION
# return dictionary filled with content of version
# read from VERSION
# return dictionary filled with content of version
- global __version_info
if not __version_info:
this_file_dir = os.path.dirname(os.path.abspath(__file__))
version_file = os.path.join(this_file_dir, 'VERSION')
if not __version_info:
this_file_dir = os.path.dirname(os.path.abspath(__file__))
version_file = os.path.join(this_file_dir, 'VERSION')