From 275c2d0063402323efa2477ced1c79c6ff257a11 Mon Sep 17 00:00:00 2001 From: stepshal Date: Thu, 16 Jun 2016 16:18:05 +0700 Subject: Fix whitespaces --- ranger/api/commands.py | 2 +- ranger/container/settings.py | 2 +- 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'] -- cgit 1.4.1-2-gfad0