summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-02 18:45:56 +0200
committerhut <hut@lavabit.com>2011-10-02 18:45:56 +0200
commitf7894a1583f82e1ba97d0aefcbc19cf1bf1fc936 (patch)
treeadd45f2405ce478c31b2906e588495be1bbf193a
parent2d199b547f5e23fbdfd0a3e24a623f5a4e792473 (diff)
downloadranger-f7894a1583f82e1ba97d0aefcbc19cf1bf1fc936.tar.gz
Changed version to 1.5.0
-rw-r--r--README2
-rw-r--r--doc/ranger.12
-rw-r--r--ranger/__init__.py2
-rw-r--r--ranger/core/helper.py11
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")