about summary refs log tree commit diff stats
path: root/ranger/api
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-01-18 04:10:19 +0100
committernfnty <git@nfnty.se>2017-01-18 04:10:19 +0100
commit51ec08da2f3c3c5466a60304dd94db9da45d99d5 (patch)
tree61fce3e4d546be76265809066a2e0867463bb91f /ranger/api
parent84a22ae0c78b087b0cb080f47620291833586e6f (diff)
downloadranger-51ec08da2f3c3c5466a60304dd94db9da45d99d5.tar.gz
linting: Correct autopep8
Allow bad whitespace in special circumstances
Diffstat (limited to 'ranger/api')
-rw-r--r--ranger/api/commands.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py
index 35e073cc..9985b996 100644
--- a/ranger/api/commands.py
+++ b/ranger/api/commands.py
@@ -423,9 +423,11 @@ class FunctionCommand(Command):
             if ranger.args.debug:
                 raise
             else:
-                self.fm.notify("Bad arguments for %s.%s: %s, %s" %
-                               (self._object_name, self._function_name,
-                                repr(args), repr(keywords)), bad=True)
+                self.fm.notify(
+                    "Bad arguments for %s.%s: %s, %s" % (
+                        self._object_name, self._function_name, repr(args), repr(keywords)),
+                    bad=True,
+                )
 
 
 class AliasCommand(Command):