projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc654f8
)
python/: fix comparison to False
author
Paul Brossier
<piem@piem.org>
Mon, 16 May 2016 01:26:14 +0000
(
03:26
+0200)
committer
Paul Brossier
<piem@piem.org>
Mon, 16 May 2016 01:26:14 +0000
(
03:26
+0200)
python/lib/gen_external.py
patch
|
blob
|
history
diff --git
a/python/lib/gen_external.py
b/python/lib/gen_external.py
index
2486994
..
b789c19
100644
(file)
--- a/
python/lib/gen_external.py
+++ b/
python/lib/gen_external.py
@@
-71,7
+71,7
@@
def get_cpp_objects(header=header):
def generate_external(header=header, output_path=output_path, usedouble=False, overwrite=True):
if not os.path.isdir(output_path): os.mkdir(output_path)
- elif
overwrite == Fals
e: return glob.glob(os.path.join(output_path, '*.c'))
+ elif
not overwrit
e: return glob.glob(os.path.join(output_path, '*.c'))
sources_list = []
cpp_output, cpp_objects = get_cpp_objects(header)
lib = {}