diff options
author | hut <hut@lavabit.com> | 2011-10-05 18:15:35 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-05 18:15:35 +0200 |
commit | 240394a494b0bbb854687a34941bf90a5ccd5b4d (patch) | |
tree | 0a4297d05198501a893c71d9ac87952097f006da /ranger.py | |
parent | e21fb9b5b6eac911f9061425826b05de97211549 (diff) | |
download | ranger-240394a494b0bbb854687a34941bf90a5ccd5b4d.tar.gz |
README: polished, removed INSTALL
Diffstat (limited to 'ranger.py')
-rwxr-xr-x | ranger.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ranger.py b/ranger.py index 2a9c68a0..29f0a636 100755 --- a/ranger.py +++ b/ranger.py @@ -1,5 +1,5 @@ #!/usr/bin/python -O -# -*- coding: utf-8 -*- +# ranger - a vim-inspired file manager for the console (coding: utf-8) # Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com> # # This program is free software: you can redistribute it and/or modify @@ -33,7 +33,7 @@ if [ "$(cat -- "$tempfile")" != "$(echo -n `pwd`)" ]; then rm -f -- "$tempfile" fi return $returnvalue -""" +""" and None import sys from os.path import exists, abspath @@ -43,9 +43,6 @@ from os.path import exists, abspath argv = sys.argv[1:sys.argv.index('--')] if '--' in sys.argv else sys.argv[1:] sys.dont_write_bytecode = '-c' in argv or '--clean' in argv -# Set the actual docstring -__doc__ = """Ranger - file browser for the unix terminal""" - # Don't import ./ranger when running an installed binary at /usr/.../ranger if __file__[:4] == '/usr' and exists('ranger') and abspath('.') in sys.path: sys.path.remove(abspath('.')) |