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:
3-25 00:50:20 +0530 Add bpod support' href='/andinus/cetus/commit/cmd/cetus/main.go?h=v0.6.8&id=509622432b2e0691b7d4cf2ccf210bd639d69d63'>5096224 ^
3ee3715 ^





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99










                   
                                 




                    




                                 
                       

 
            































































                                                                                            


                                        





                                                               
n23'>23