History

python/: fix comparison to False

Paul Brossier committed 10 years ago

Commit f44384d1 parent dc654f81 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/lib/gen_external.py+1−1
@@ -71,7 +71,7 @@ def get_cpp_objects(header=header): · 70 unmodified lines
71 71
72def generate_external(header=header, output_path=output_path, usedouble=False, overwrite=True):72def generate_external(header=header, output_path=output_path, usedouble=False, overwrite=True):
73 if not os.path.isdir(output_path): os.mkdir(output_path)73 if not os.path.isdir(output_path): os.mkdir(output_path)
74 elif overwrite == False: return glob.glob(os.path.join(output_path, '*.c'))74 elif not overwrite: return glob.glob(os.path.join(output_path, '*.c'))
75 sources_list = []75 sources_list = []
76 cpp_output, cpp_objects = get_cpp_objects(header)76 cpp_output, cpp_objects = get_cpp_objects(header)
77 lib = {}77 lib = {}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t