diff options
Diffstat (limited to 'ranger/shared/settings.py')
-rw-r--r-- | ranger/shared/settings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/shared/settings.py b/ranger/shared/settings.py index c533205b..9a8a0000 100644 --- a/ranger/shared/settings.py +++ b/ranger/shared/settings.py @@ -91,6 +91,10 @@ class SettingObject(SignalDispatcher): self.__setattr__(name, value) return self._settings[name] + def __iter__(self): + for x in self._settings: + yield x + def _check_type(self, name, value): from inspect import isfunction typ = ALLOWED_SETTINGS[name] |