Skip to content

Commit

Permalink
protect version None
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmens committed Aug 16, 2013
1 parent f5f9f40 commit e6ac542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_git_version(abbrev=7):
# First try to get the current version using “git describe”.

version = call_git_describe(abbrev)
if version is not None and is_dirty():
if version is not None and is_dirty(): # JPM
version += "-dirty"

# If that doesn't work, fall back on the value that's in
Expand Down

0 comments on commit e6ac542

Please sign in to comment.