summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-09-30 21:42:33 +0200
committerhut <hut@lavabit.com>2011-09-30 21:42:33 +0200
commit9aff6cc7f134a0feb31902003741129167051f4d (patch)
tree551dbef687fea522a659a65bddc9da1d9681a161 /ranger
parente63f79cfc54e14f69953a323cea7caf3f2532712 (diff)
downloadranger-9aff6cc7f134a0feb31902003741129167051f4d.tar.gz
container.settingobject: fix settingobject (?)
Diffstat (limited to 'ranger')
-rw-r--r--ranger/container/settingobject.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/container/settingobject.py b/ranger/container/settingobject.py
index 4d95536a..f7507b3e 100644
--- a/ranger/container/settingobject.py
+++ b/ranger/container/settingobject.py
@@ -82,6 +82,8 @@ class SettingObject(SignalDispatcher, FileManagerAware):
 	def __getattr__(self, name):
 		assert name in ALLOWED_SETTINGS or name in self._settings, \
 				"No such setting: {0}!".format(name)
+		if name.startswith('_'):
+			return self.__dict__[name]
 		try:
 			return self._settings[name]
 		except:
8'>128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189