Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
__version__
Browse files Browse the repository at this point in the history
  • Loading branch information
zrzka committed Aug 28, 2017
1 parent 7216376 commit 328c784
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blackmamba/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import os
import sys


__version__ = '0.0.15'
_LATEST_VERSION_COMPATIBILITY_TEST = (301016, '3.1')


Expand Down Expand Up @@ -100,9 +100,9 @@ def _is_compatible_with_pythonista():

local_release = blackmamba.updates.get_local_release()
if local_release:
print('Black Mamba release {} ({})'.format(local_release['name'], local_release['tag_name']))
print('Black Mamba {} (tag {})'.format(__version__, local_release['tag_name']))
else:
print('Black Mamba unknown - not installed via installation script')
print('Black Mamba {} (tag unknown, not installed via installation script)'.format(__version__))

if bundle_version > _LATEST_VERSION_COMPATIBILITY_TEST[0]:
sys.stderr.write('Not tested combination, please, update Black Mamba\n')
Expand Down

0 comments on commit 328c784

Please sign in to comment.