summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-04-02 04:00:44 +0200
committerhut <hut@lavabit.com>2012-05-03 18:03:22 +0200
commitf77192913a0e17f57f80135b8104ab9a4771763e (patch)
treef9a7dac6c51b786e78a7d928e3b9274baab45c87 /ranger
parent4f5a4bed219324168a2f2e828cbf2e07b37b4aa8 (diff)
downloadranger-f77192913a0e17f57f80135b8104ab9a4771763e.tar.gz
core.shared: ImportErrors in options.py are mistakenly ignored...
Diffstat (limited to 'ranger')
-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 e1aa5e65..9da79578 100644
--- a/ranger/core/shared.py
+++ b/ranger/core/shared.py
@@ -76,6 +76,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)
79813a ^
f3158b3 ^










aec5dd1 ^
f3158b3 ^
aec5dd1 ^
f79813a ^
f3158b3 ^











aec5dd1 ^
f3158b3 ^
aec5dd1 ^
f3158b3 ^




f79813a ^
f3158b3 ^

f79813a ^
f3158b3 ^







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84