summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-03-01 12:09:04 +0100
committerhut <hut@lavabit.com>2013-03-01 12:09:04 +0100
commit1cf3bce369cc51f34b2ab7f984ca1b3c8fbc70aa (patch)
tree4f05007ce5699c0fa2e905b32cdb29eac69791da /ranger
parent3c10b99852aebb033dd3ad48def7e7b0af8800f9 (diff)
downloadranger-1cf3bce369cc51f34b2ab7f984ca1b3c8fbc70aa.tar.gz
core.tab: consistent return value in get_selection()
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/tab.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ranger/core/tab.py b/ranger/core/tab.py
index da6913f6..248694fb 100644
--- a/ranger/core/tab.py
+++ b/ranger/core/tab.py
@@ -77,9 +77,7 @@ class Tab(FileManagerAware, SettingsAware):
                 return self.thisdir.get_selection()
             elif self._thisfile:
                 return [self._thisfile]
-            else:
-                return []
-        return set()
+        return []
 
     def assign_cursor_positions_for_subdirs(self):
         """Assign correct cursor positions for subdirectories"""