From f7894a1583f82e1ba97d0aefcbc19cf1bf1fc936 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 2 Oct 2011 18:45:56 +0200 Subject: Changed version to 1.5.0 --- README | 2 +- doc/ranger.1 | 2 +- ranger/__init__.py | 2 +- ranger/core/helper.py | 11 +---------- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/README b/README index 94aa19c6..e48edeb8 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Ranger v.1.4.4 +Ranger v.1.5.0 ============== Ranger is a free console file manager that gives you greater flexibility diff --git a/doc/ranger.1 b/doc/ranger.1 index 7bf94b41..fbda8fa1 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.4.3" "10/01/2011" "ranger manual" +.TH RANGER 1 "ranger-1.5.0" "10/02/2011" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l 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") -- cgit 1.4.1-2-gfad0