about summary refs log tree commit diff stats
path: root/ranger/gui/displayable.py
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2016-12-18 09:38:42 +0100
committernfnty <git@nfnty.se>2017-01-17 05:59:02 +0100
commit76791a70467d7223a966aa9f12f5583b01d704a8 (patch)
tree7a2f7543d439f9d0da695c00622c7b278424d9f6 /ranger/gui/displayable.py
parente26d163debc9f55a89a27f94a43771526d2ff0b7 (diff)
downloadranger-76791a70467d7223a966aa9f12f5583b01d704a8.tar.gz
linting: autopep8
Diffstat (limited to 'ranger/gui/displayable.py')
-rw-r--r--ranger/gui/displayable.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py
index 62eb5300..4c5133d4 100644
--- a/ranger/gui/displayable.py
+++ b/ranger/gui/displayable.py
@@ -105,7 +105,7 @@ class Displayable(FileManagerAware, CursesShortcuts):
         x and y should be absolute coordinates.
         """
         return (x >= self.x and x < self.x + self.wid) and \
-                (y >= self.y and y < self.y + self.hei)
+            (y >= self.y and y < self.y + self.hei)
 
     def click(self, event):
         """Called when a mouse key is pressed and self.focused is True.
@@ -153,12 +153,12 @@ class Displayable(FileManagerAware, CursesShortcuts):
 
             if x < 0 or y < 0:
                 self.fm.notify("Warning: Subwindow origin below zero for <%s> "
-                    "(x = %d, y = %d)" % (self, x, y), bad=True)
+                               "(x = %d, y = %d)" % (self, x, y), bad=True)
 
             if x + wid > maxx or y + hei > maxy:
                 self.fm.notify("Warning: Subwindow size out of bounds for <%s> "
-                    "(x = %d, y = %d, hei = %d, wid = %d)" % (self,
-                    x, y, hei, wid), bad=True)
+                               "(x = %d, y = %d, hei = %d, wid = %d)" % (self,
+                                                                         x, y, hei, wid), bad=True)
 
         window_is_cleared = False