summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-15 00:26:16 +0200
committerhut <hut@lavabit.com>2012-08-15 00:26:16 +0200
commite8b8190d2848dd610c24d4f711326a326a53f065 (patch)
tree9dc35303bb6e0b9a7f65a86317536ec2e8b11d58
parent731f72dd2bb6976998d3c1588807fc3a654d06cc (diff)
downloadranger-e8b8190d2848dd610c24d4f711326a326a53f065.tar.gz
ranger.__init__: print python info with --version
-rw-r--r--ranger/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py
index 3d56e052..3c608d41 100644
--- a/ranger/__init__.py
+++ b/ranger/__init__.py
@@ -9,6 +9,7 @@ directory hierarchy.  The secondary task of ranger is to figure out which
 program you want to use to open your files with.
 """
 
+import sys
 import os
 
 # Information
@@ -26,7 +27,7 @@ MACRO_DELIMITER = '%'
 DEFAULT_PAGER = 'less'
 LOGFILE = '/tmp/ranger_errorlog'
 USAGE = '%prog [options] [path/filename]'
-VERSION = 'ranger-git based on %s' % __version__
+VERSION = 'ranger-master %s\n\nPython %s' % (__version__, sys.version)
 
 # If the environment variable XDG_CONFIG_HOME is non-empty, CONFDIR is ignored
 # and the configuration directory will be $XDG_CONFIG_HOME/ranger instead.