summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-04-02 04:00:44 +0200
committerhut <hut@lavabit.com>2012-04-02 04:00:44 +0200
commit88d59a82a1292cca071041e9b5e78d5d13008dc2 (patch)
treea874bc0f2028b520980ffff553a2b1d0adedb2ba
parent74917acc14b02260ce285f3a6c35340bbcc6d6ef (diff)
downloadranger-88d59a82a1292cca071041e9b5e78d5d13008dc2.tar.gz
core.shared: ImportErrors in options.py are mistakenly ignored...
-rw-r--r--ranger/core/shared.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/shared.py b/ranger/core/shared.py
index 12e69e6c..dae83b78 100644
--- a/ranger/core/shared.py
+++ b/ranger/core/shared.py
@@ -64,6 +64,8 @@ class SettingsAware(Awareness):
 			try:
 				import options as my_options
 			except ImportError:
+				# XXX: This mistakenly ignores ImportErrors inside options.py
+				# It should only ignore missing options.py instead.
 				pass
 			else:
 				settings._setting_sources.append(my_options)