From f44384dc0b1b32e783a4e0f0b515a88dea4003f1 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 16 May 2016 03:26:14 +0200 Subject: [PATCH] python/: fix comparison to False --- python/lib/gen_external.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {} -- 2.11.0