##// END OF EJS Templates
extensions: check for path existence only when necessary
Cédric Duval -
r8877:08636e18 default
parent child Browse files
Show More
@@ -135,8 +135,10 b' def disabled():'
135 135 else:
136 136 name = e
137 137 path = os.path.join(extpath, e, '__init__.py')
138 if not os.path.exists(path):
139 continue
138 140
139 if name in exts or name == '__init__' or not os.path.exists(path):
141 if name in exts or name == '__init__':
140 142 continue
141 143
142 144 try:
General Comments 0
You need to be logged in to leave comments. Login now