diff options
author | hut <hut@lavabit.com> | 2010-09-13 13:06:48 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-09-13 13:06:48 +0200 |
commit | 81f5ac9e8b9dbcbccbd01ad8f046ccf26fb53430 (patch) | |
tree | 0c4d963dc5442fb29c5d411c8e07676a33268fbd /ranger | |
parent | 414b01ecfc75d2c977b52c93ab4045f959246914 (diff) | |
download | ranger-81f5ac9e8b9dbcbccbd01ad8f046ccf26fb53430.tar.gz |
Beware of low-flying butterflies v1.2.0
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/__init__.py | 2 | ||||
-rw-r--r-- | ranger/__main__.py | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py index 57e0e5a2..c2a695c9 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -20,7 +20,7 @@ import sys from ranger.ext.openstruct import OpenStruct __license__ = 'GPL3' -__version__ = '1.1.2' +__version__ = '1.2.0' __credits__ = 'Roman Zimbelmann' __author__ = 'Roman Zimbelmann' __maintainer__ = 'Roman Zimbelmann' diff --git a/ranger/__main__.py b/ranger/__main__.py index 7db82a57..0ded8c95 100644 --- a/ranger/__main__.py +++ b/ranger/__main__.py @@ -35,7 +35,10 @@ def parse_arguments(): if '.' in minor_version: minor_version = minor_version[:minor_version.find('.')] version_tag = ' (stable)' if int(minor_version) % 2 == 0 else ' (testing)' - version_string = 'ranger ' + __version__ + version_tag + if __version__.endswith('.0'): + version_string = 'ranger ' + __version__[:-2] + version_tag + else: + version_string = 'ranger ' + __version__ + version_tag parser = OptionParser(usage=USAGE, version=version_string) |