diff options
author | stepshal <nessento@openmailbox.org> | 2016-06-19 09:33:58 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-06-19 09:35:00 +0700 |
commit | 2278fa73c65dffda46b232c1cc1ff274ffbd7384 (patch) | |
tree | 1fa66bcb1eb3f1373043ffa94a4c3c0f83c962c5 | |
parent | 904d3df13a96c2ded55919ff2a3ed873b8da3c9e (diff) | |
download | ranger-2278fa73c65dffda46b232c1cc1ff274ffbd7384.tar.gz |
Remove whitespace in blank lines
-rw-r--r-- | ranger/api/commands.py | 2 | ||||
-rw-r--r-- | ranger/core/actions.py | 8 | ||||
-rw-r--r-- | tests/ranger/container/test_bookmarks.py | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py index 7d1b7506..df70679c 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -434,7 +434,7 @@ class AliasCommand(Command): _object_name = "" _function_name = "unknown" _line = "" - + def execute(self): return self._make_cmd().execute() diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 642eec04..bce36622 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -966,7 +966,7 @@ class Actions(FileManagerAware, SettingsAware): path, str(width), str(height), cacheimg, str(self.settings.preview_images)], read=True, silent=True, descr="Getting preview of %s" % path) - + def on_after(signal): exit = signal.process.poll() content = signal.loader.stdout_buffer @@ -1165,7 +1165,7 @@ class Actions(FileManagerAware, SettingsAware): contexts = 'browser', 'console', 'pager', 'taskview' temporary_file = tempfile.NamedTemporaryFile() - + def write(string): temporary_file.write(string.encode('utf-8')) @@ -1191,7 +1191,7 @@ class Actions(FileManagerAware, SettingsAware): def dump_commands(self): temporary_file = tempfile.NamedTemporaryFile() - + def write(string): temporary_file.write(string.encode('utf-8')) @@ -1217,7 +1217,7 @@ class Actions(FileManagerAware, SettingsAware): def dump_settings(self): temporary_file = tempfile.NamedTemporaryFile() - + def write(string): temporary_file.write(string.encode('utf-8')) diff --git a/tests/ranger/container/test_bookmarks.py b/tests/ranger/container/test_bookmarks.py index cfaf3ba1..2c0f78bd 100644 --- a/tests/ranger/container/test_bookmarks.py +++ b/tests/ranger/container/test_bookmarks.py @@ -37,10 +37,10 @@ def testbookmarks(tmpdir): # We don't uneccesary update when the file on disk does not change origupdate = secondstore.update - + class OutOfDateException(Exception): pass - + def crash(): raise OutOfDateException("Don't access me") secondstore.update = crash |