about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/api/commands.py2
-rw-r--r--ranger/container/settings.py2
-rw-r--r--ranger/core/actions.py2
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']