diff options
author | hut <hut@lavabit.com> | 2012-08-15 01:18:07 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-15 01:18:07 +0200 |
commit | b2b1c1024a8cff34690e74292b8132b2cf6fa69b (patch) | |
tree | bcfa7f262ba2921ff3149373f87dc40140ee38ed /ranger | |
parent | 98cc0a97832e1bd6a896ebdaeb9162d109fac4b9 (diff) | |
download | ranger-b2b1c1024a8cff34690e74292b8132b2cf6fa69b.tar.gz |
ext.rifle: added some comments
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/ext/rifle.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index 9b5fe2c9..55a81df0 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -20,11 +20,14 @@ import re from subprocess import Popen, PIPE import sys +# Options and constants that a user might want to change: DEFAULT_PAGER = 'less' DEFAULT_EDITOR = 'nano' ASK_COMMAND = 'ask' ENCODING = 'utf-8' +# Imports from ranger library, plus reimplementations in case ranger is not +# installed so rifle can be run as a standalone program. try: from ranger.ext.get_executables import get_executables except ImportError: |