summary refs log tree commit diff stats
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
parente63f79cfc54e14f69953a323cea7caf3f2532712 (diff)
downloadranger-9aff6cc7f134a0feb31902003741129167051f4d.tar.gz
container.settingobject: fix settingobject (?)
-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:
mu/blame/clean?h=hlt&id=72f278ae6bb52e17dbdeac0fce41a794e8dfd0d1'>^
65409d23 ^
1
2
3
4
5
6
7
8
9
10
11
12