diff options
author | hut <hut@lavabit.com> | 2011-10-02 18:45:56 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-02 18:45:56 +0200 |
commit | f7894a1583f82e1ba97d0aefcbc19cf1bf1fc936 (patch) | |
tree | add45f2405ce478c31b2906e588495be1bbf193a /ranger | |
parent | 2d199b547f5e23fbdfd0a3e24a623f5a4e792473 (diff) | |
download | ranger-f7894a1583f82e1ba97d0aefcbc19cf1bf1fc936.tar.gz |
Changed version to 1.5.0
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/__init__.py | 2 | ||||
-rw-r--r-- | ranger/core/helper.py | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py index 3d2633cd..32a31eae 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -29,7 +29,7 @@ from ranger.core.main import main # Information __license__ = 'GPL3' -__version__ = '1.4.4' +__version__ = '1.5.0' __author__ = __maintainer__ = 'Roman Zimbelmann' __email__ = 'romanz@lavabit.com' diff --git a/ranger/core/helper.py b/ranger/core/helper.py index d8081b01..090a475a 100644 --- a/ranger/core/helper.py +++ b/ranger/core/helper.py @@ -35,16 +35,7 @@ def parse_arguments(): default_confdir = '~/.config/ranger' usage = '%prog [options] [path/filename]' - minor_version = __version__[2:] # assumes major version number is <10 - if '.' in minor_version: - minor_version = minor_version[:minor_version.find('.')] - version_tag = ' (stable)' if int(minor_version) % 2 == 0 else ' (testing)' - 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) + parser = OptionParser(usage=usage, version='ranger '+__version__) parser.add_option('-d', '--debug', action='store_true', help="activate debug mode") |