Allow optimized compiled file in extensions
Optimized complied byte files ends with .pyo and should be allowed. Change-Id: Id0b1f25c18ef29f5fa8f600b6cd6d3191c093b75 Closes-Bug: #1569799
This commit is contained in:
parent
9901416f6c
commit
d01a7273f4
@ -36,7 +36,7 @@ class ExtTools(object):
|
||||
|
||||
extdirs = [e for e in os.listdir(abs_path) if
|
||||
not e.startswith('tests') and
|
||||
not e.endswith('.pyc') and not e.endswith('.py')]
|
||||
os.path.isdir(os.path.join(abs_path, e))]
|
||||
|
||||
for e in extdirs:
|
||||
log.info(e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user