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
7171
7272 def generate_external(header=header, output_path=output_path, usedouble=False, overwrite=True):
7373 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'))
7575 sources_list = []
7676 cpp_output, cpp_objects = get_cpp_objects(header)
7777 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