summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-03-16 00:21:12 +0100
committerhut <hut@lavabit.com>2012-03-16 00:21:12 +0100
commit895be920518ab346c1e58e884d7d2a0902606d2f (patch)
tree93080908e6a94a1eae87ae69b9f3102fefd43a40
parent6f8ca83b677412aee792e55d24c62b7d24d4ea84 (diff)
downloadranger-895be920518ab346c1e58e884d7d2a0902606d2f.tar.gz
ext.get_executables: speed optimization
-rw-r--r--ranger/ext/get_executables.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/ext/get_executables.py b/ranger/ext/get_executables.py
index db74b135..2452f9ec 100644
--- a/ranger/ext/get_executables.py
+++ b/ranger/ext/get_executables.py
@@ -4,7 +4,6 @@
 from stat import S_IXOTH, S_IFREG
 from ranger.ext.iter_tools import unique
 from os import listdir, environ, stat
-from os.path import join
 
 
 _cached_executables = None
@@ -42,7 +41,7 @@ def get_executables_uncached(*paths):
 		except:
 			continue
 		for item in content:
-			abspath = join(path, item)
+			abspath = path + '/' + item
 			try:
 				filestat = stat(abspath)
 			except: