summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-11-14 03:46:47 +0100
committerhut <hut@lepus.uberspace.de>2015-11-14 03:46:47 +0100
commit18f25ff7e089476aefaddbeb15aaaec9ff019154 (patch)
treee30f54d197109a5b7677b88a19c437e02fdf9fac /ranger
parentd11e47ee5065306d3e837ddfb44382acdebe5160 (diff)
downloadranger-18f25ff7e089476aefaddbeb15aaaec9ff019154.tar.gz
fixed line widths in commit a090d85 (#400)
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/actions.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 7007581d..cbf75dbf 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -253,7 +253,8 @@ class Actions(FileManagerAware, SettingsAware):
             macros['f'] = MACRO_FAIL
 
         if self.fm.thistab.get_selection:
-            macros['p'] = [os.path.join(self.fm.thisdir.path, fl.relative_path) for fl in self.fm.thistab.get_selection()]
+            macros['p'] = [os.path.join(self.fm.thisdir.path, fl.relative_path)
+                    for fl in self.fm.thistab.get_selection()]
             macros['s'] = [fl.relative_path for fl in self.fm.thistab.get_selection()]
         else:
             macros['p'] = MACRO_FAIL
@@ -287,7 +288,8 @@ class Actions(FileManagerAware, SettingsAware):
             i = str(i)
             macros[i + 'd'] = tabdir.path
             if tabdir.get_selection():
-                macros[i + 'p'] = [os.path.join(tabdir.path, fl.relative_path) for fl in tabdir.get_selection()]
+                macros[i + 'p'] = [os.path.join(tabdir.path, fl.relative_path)
+                        for fl in tabdir.get_selection()]
                 macros[i + 's'] = [fl.path for fl in tabdir.get_selection()]
             else:
                 macros[i + 'p'] = MACRO_FAIL
@@ -320,7 +322,8 @@ class Actions(FileManagerAware, SettingsAware):
             else:
                 macros['F'] = MACRO_FAIL
             if next_tab_dir.get_selection():
-                macros['P'] = [os.path.join(next_tab.path, fl.path) for fl in next_tab.get_selection()]
+                macros['P'] = [os.path.join(next_tab.path, fl.path)
+                        for fl in next_tab.get_selection()]
                 macros['S'] = [fl.path for fl in next_tab.get_selection()]
             else:
                 macros['P'] = MACRO_FAIL