diff options
-rw-r--r-- | ranger/api/commands.py | 2 | ||||
-rw-r--r-- | ranger/container/settings.py | 2 | ||||
-rw-r--r-- | ranger/core/actions.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py index c3e0a59a..d20bbbf7 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -382,7 +382,7 @@ class FunctionCommand(Command): return if len(self.args) == 1: try: - return self._based_function(**{'narg':self.quantifier}) + return self._based_function(**{'narg': self.quantifier}) except TypeError: return self._based_function() diff --git a/ranger/container/settings.py b/ranger/container/settings.py index 85729907..14a2e591 100644 --- a/ranger/container/settings.py +++ b/ranger/container/settings.py @@ -134,7 +134,7 @@ class Settings(SignalDispatcher, FileManagerAware): if name not in self._settings: previous = None else: - previous=self._settings[name] + previous = self._settings[name] assert self._check_type(name, value) assert not (tags and path), "Can't set a setting for path and tag " \ "at the same time!" diff --git a/ranger/core/actions.py b/ranger/core/actions.py index a39cef21..195b4b07 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -204,7 +204,7 @@ class Actions(FileManagerAware, SettingsAware): return cmd = cmd_class(string) if cmd.resolve_macros and _MacroTemplate.delimiter in string: - macros = dict(('any%d'%i, key_to_string(char)) \ + macros = dict(('any%d' % i, key_to_string(char)) \ for i, char in enumerate(wildcards)) if 'any0' in macros: macros['any'] = macros['any0'] |