summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-15 01:18:07 +0200
committerhut <hut@lavabit.com>2012-08-15 01:18:07 +0200
commitb2b1c1024a8cff34690e74292b8132b2cf6fa69b (patch)
treebcfa7f262ba2921ff3149373f87dc40140ee38ed
parent98cc0a97832e1bd6a896ebdaeb9162d109fac4b9 (diff)
downloadranger-b2b1c1024a8cff34690e74292b8132b2cf6fa69b.tar.gz
ext.rifle: added some comments
-rwxr-xr-xranger/ext/rifle.py3
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: