Skip to content

Commit

Permalink
Update to latest versioneer '.dirty' suffix.
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarst committed Apr 13, 2016
1 parent 1c32991 commit dca8fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
# Versioneer adds -dirty suffix to version if checkout is dirty, and
# therefore ReadTheDocs somehow ends up with this in its version, so strip
# it out.
if version.endswith("-dirty"):
version = version[:-len("-dirty")]
if version.endswith(".dirty"):
version = version[:-len(".dirty")]
# The full version, including alpha/beta/rc tags.
release = version

Expand Down

0 comments on commit dca8fa9

Please sign in to comment.