diff options
author | hut <hut@lepus.uberspace.de> | 2016-06-18 20:01:13 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-06-18 20:01:13 +0200 |
commit | 904d3df13a96c2ded55919ff2a3ed873b8da3c9e (patch) | |
tree | 0f70975a2c808401d521a3d3ba79b13e9fbbef39 /ranger | |
parent | 6179ee16fbd49546edd3b8d720b7a7dd05e6ff54 (diff) | |
parent | 275c2d0063402323efa2477ced1c79c6ff257a11 (diff) | |
download | ranger-904d3df13a96c2ded55919ff2a3ed873b8da3c9e.tar.gz |
Merge branch 'whitespaces' of https://github.com/stepshal/ranger
Diffstat (limited to 'ranger')
-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 f42fe9f7..7d1b7506 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -384,7 +384,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 402dd806..de39c013 100644 --- a/ranger/container/settings.py +++ b/ranger/container/settings.py @@ -135,7 +135,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 a1beddc8..642eec04 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -205,7 +205,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'] |