diff options
author | hut <hut@lavabit.com> | 2012-03-16 00:21:12 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-03-16 00:21:12 +0100 |
commit | 895be920518ab346c1e58e884d7d2a0902606d2f (patch) | |
tree | 93080908e6a94a1eae87ae69b9f3102fefd43a40 /ranger | |
parent | 6f8ca83b677412aee792e55d24c62b7d24d4ea84 (diff) | |
download | ranger-895be920518ab346c1e58e884d7d2a0902606d2f.tar.gz |
ext.get_executables: speed optimization
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/get_executables.py | 3 |
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: |