Skip to content

Commit

Permalink
DEBUG ONLY; DO NOT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido van Rossum committed Nov 15, 2016
1 parent 01fa985 commit c82cb38
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mypy/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
from mypy import git

__version__ = '0.4.6-dev'
base_version = __version__
## base_version = __version__

mypy_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
if git.is_git_repo(mypy_dir) and git.have_git():
__version__ += '-' + git.git_revision(mypy_dir).decode('utf-8')
if git.is_dirty(mypy_dir):
__version__ += '-dirty'
del mypy_dir
## mypy_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
## if git.is_git_repo(mypy_dir) and git.have_git():
## __version__ += '-' + git.git_revision(mypy_dir).decode('utf-8')
## if git.is_dirty(mypy_dir):
## __version__ += '-dirty'
## del mypy_dir

0 comments on commit c82cb38

Please sign in to comment.