shithub: aubio

Download patch

ref: f44384dc0b1b32e783a4e0f0b515a88dea4003f1
parent: dc654f8f8ca6675edf071f77ce1f934c6ad97e6b
author: Paul Brossier <piem@piem.org>
date: Sun May 15 23:26:14 EDT 2016

python/: fix comparison to False

--- a/python/lib/gen_external.py
+++ b/python/lib/gen_external.py
@@ -71,7 +71,7 @@
 
 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 == False: return glob.glob(os.path.join(output_path, '*.c'))
+    elif not overwrite: return glob.glob(os.path.join(output_path, '*.c'))
     sources_list = []
     cpp_output, cpp_objects = get_cpp_objects(header)
     lib = {}