summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-06-16 17:13:16 +0700
committerstepshal <nessento@openmailbox.org>2016-06-16 17:13:16 +0700
commitb8c82ef8eb2d45822eeedc552dafae661840db2e (patch)
tree7be1ed9d100dfd957177088053b194f54724d373 /ranger
parent7c760ac0256aa1d27433e8f410ae014be2da2334 (diff)
downloadranger-b8c82ef8eb2d45822eeedc552dafae661840db2e.tar.gz
Remove reduntant blank lines
Diffstat (limited to 'ranger')
-rw-r--r--ranger/colorschemes/default.py2
-rw-r--r--ranger/container/bookmarks.py1
-rw-r--r--ranger/container/fsobject.py1
-rw-r--r--ranger/container/settings.py1
-rw-r--r--ranger/core/actions.py3
-rw-r--r--ranger/ext/img_display.py1
-rwxr-xr-xranger/ext/rifle.py3
-rw-r--r--ranger/gui/widgets/statusbar.py2
-rw-r--r--ranger/gui/widgets/taskview.py1
9 files changed, 0 insertions, 15 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py
index 37b372a3..ca30e13f 100644
--- a/ranger/colorschemes/default.py
+++ b/ranger/colorschemes/default.py
@@ -107,7 +107,6 @@ class Default(ColorScheme):
                 fg = cyan
                 attr &= ~bold
 
-
         if context.text:
             if context.highlight:
                 attr |= reverse
@@ -125,7 +124,6 @@ class Default(ColorScheme):
                 else:
                     bg = self.progress_bar_color
 
-
         if context.vcsfile and not context.selected:
             attr &= ~bold
             if context.vcsconflict:
diff --git a/ranger/container/bookmarks.py b/ranger/container/bookmarks.py
index 02f3e3bc..6b3bc386 100644
--- a/ranger/container/bookmarks.py
+++ b/ranger/container/bookmarks.py
@@ -71,7 +71,6 @@ class Bookmarks(object):
             del self.dct[key]
             if self.autosave: self.save()
 
-
     def __iter__(self):
         return iter(self.dct.items())
 
diff --git a/ranger/container/fsobject.py b/ranger/container/fsobject.py
index fff29c36..5c83adf3 100644
--- a/ranger/container/fsobject.py
+++ b/ranger/container/fsobject.py
@@ -119,7 +119,6 @@ class FileSystemObject(FileManagerAware, SettingsAware):
                     self._linemode = linemode
                     break
 
-
     def __repr__(self):
         return "<{0} {1}>".format(self.__class__.__name__, self.path)
 
diff --git a/ranger/container/settings.py b/ranger/container/settings.py
index 85729907..ae6f77f7 100644
--- a/ranger/container/settings.py
+++ b/ranger/container/settings.py
@@ -200,7 +200,6 @@ class Settings(SignalDispatcher, FileManagerAware):
             else:
                 return (typ, )
 
-
     def _check_type(self, name, value):
         typ = ALLOWED_SETTINGS[name]
         if isfunction(typ):
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index a39cef21..e5d3af24 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -92,7 +92,6 @@ class Actions(FileManagerAware, SettingsAware):
 
         self.settings.set(option_name, self._parse_option_value(option_name, value), localpath, tags)
 
-
     def _parse_option_value(self, name, value):
         types = self.fm.settings.types_of(name)
         if bool in types:
@@ -479,7 +478,6 @@ class Actions(FileManagerAware, SettingsAware):
                 if self.ui.pager.visible:
                     self.display_file()
 
-
     def move_parent(self, n, narg=None):
         self.change_mode('normal')
         if narg is not None:
@@ -930,7 +928,6 @@ class Actions(FileManagerAware, SettingsAware):
                 if data['loading']:
                     return None
 
-
             found = data.get((-1, -1), data.get((width, -1),
                 data.get((-1, height), data.get((width, height), False))))
             if found == False:
diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py
index 0c6a11d4..b834b755 100644
--- a/ranger/ext/img_display.py
+++ b/ranger/ext/img_display.py
@@ -242,7 +242,6 @@ class ITerm2ImageDisplayer(ImageDisplayer, FileManagerAware):
         else:
             return width
 
-
     def _encode_image_content(self, path):
         """Read and encode the contents of path"""
         file = open(path, 'rb')
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py
index eadbc110..b1467c34 100755
--- a/ranger/ext/rifle.py
+++ b/ranger/ext/rifle.py
@@ -398,7 +398,6 @@ def main():
         else:
             conf_path = os.path.join(ranger.__path__[0], "config", "rifle.conf")
 
-
     # Evaluate arguments
     from optparse import OptionParser
     parser = OptionParser(usage="%prog [-fhlpw] [files]", version=__version__)
@@ -448,8 +447,6 @@ def main():
                 # TODO: implement interactive asking for file type?
                 print("Unknown file type: %s" % rifle._get_mimetype(positional[0]))
 
-
-
 if __name__ == '__main__':
     if 'RANGER_DOCTEST' in os.environ:
         import doctest
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index 8786af06..e6e57e6b 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -229,8 +229,6 @@ class StatusBar(Widget):
             except KeyError:
                 return str(gid)
 
-
-
     def _get_right_part(self, bar):
         right = bar.right
         if self.column is None:
diff --git a/ranger/gui/widgets/taskview.py b/ranger/gui/widgets/taskview.py
index 04fdfe0e..29fdaeaf 100644
--- a/ranger/gui/widgets/taskview.py
+++ b/ranger/gui/widgets/taskview.py
@@ -71,7 +71,6 @@ class TaskView(Widget, Accumulator):
         y = self.y + 1 + self.pointer - self.scroll_begin
         self.fm.ui.win.move(y, self.x)
 
-
     def task_remove(self, i=None):
         if i is None:
             i = self.pointer