Commit a7403d62 authored by Mat's avatar Mat
Browse files

Fix the parsing of git tags as version numbers

parent 8fdc6b08
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -55,8 +55,8 @@ def get_version():
    # package from the git tree.
    try:
        import subprocess
        command = ['git', 'describe', '--tags', '--always', '--dirty']
        return str(subprocess.check_output(command))
        command = ['git', 'describe', '--tags', '--always', '--dirty=+dirty']
        return subprocess.check_output(command).strip().decode()
    except:
        pass