diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2018-06-01 22:21:37 +0200 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2018-06-01 22:21:37 +0200 |
commit | d9bb5609d4db6915524d8a1ac4d21029bad81687 (patch) | |
tree | eaeee5f499f5506b7086337b71f42da1f9bf68e6 | |
parent | 0045755469b253436c847e0e0d600941252f4a5f (diff) | |
download | ranger-d9bb5609d4db6915524d8a1ac4d21029bad81687.tar.gz |
Fix the tests
-rw-r--r-- | ranger/core/actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 2f1a941b..ae8e33d4 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -110,7 +110,8 @@ class Actions( # pylint: disable=too-many-instance-attributes,too-many-public-m self.settings.set(option_name, self._parse_option_value(option_name, value), localpath, tags) - def _parse_option_value(self, name, value): + def _parse_option_value( # pylint: disable=too-many-return-statements + self, name, value): types = self.fm.settings.types_of(name) if bool in types: if value.lower() in ('false', 'off', '0'): |