diff options
author | hut <hut@lavabit.com> | 2012-03-16 00:21:12 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-05-03 18:01:37 +0200 |
commit | 9e63f83abf81c8853e5ed3382358330007aced9c (patch) | |
tree | d123b7c2ec04d0cdf0e6ed902fb0c6c300b4e1f5 /ranger | |
parent | b2132b442921e1b77355b428965055dbbf96ebf5 (diff) | |
download | ranger-9e63f83abf81c8853e5ed3382358330007aced9c.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 c19798a6..03f438dd 100644 --- a/ranger/ext/get_executables.py +++ b/ranger/ext/get_executables.py @@ -16,7 +16,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 @@ -54,7 +53,7 @@ def get_executables_uncached(*paths): except: continue for item in content: - abspath = join(path, item) + abspath = path + '/' + item try: filestat = stat(abspath) except: |