From: Paul Brossier Date: Mon, 16 May 2016 01:26:14 +0000 (+0200) Subject: python/: fix comparison to False X-Git-Tag: 0.4.4~300^2~18 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=f44384dc0b1b32e783a4e0f0b515a88dea4003f1 python/: fix comparison to False --- diff --git a/python/lib/gen_external.py b/python/lib/gen_external.py index 2486994f..b789c19b 100644 --- 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 == 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 = {}