diff options
author | stepshal <nessento@openmailbox.org> | 2016-06-16 16:18:05 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-06-16 16:18:05 +0700 |
commit | 275c2d0063402323efa2477ced1c79c6ff257a11 (patch) | |
tree | b81d4b958333c96ec917fdfcf4edd39fb085b0c4 /ranger | |
parent | 7c760ac0256aa1d27433e8f410ae014be2da2334 (diff) | |
download | ranger-275c2d0063402323efa2477ced1c79c6ff257a11.tar.gz |
Fix whitespaces
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 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'] |