this_version.py: remove global, not needed
authorPaul Brossier <piem@piem.org>
Thu, 23 Mar 2017 15:36:20 +0000 (16:36 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 23 Mar 2017 15:36:20 +0000 (16:36 +0100)
this_version.py

index d8352e6..14a1a71 100644 (file)
@@ -9,7 +9,6 @@ def get_version_info():
     # 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')