Commit e710b94a authored by Stefan Behnel's avatar Stefan Behnel

safety fix

parent 8c9d8b07
......@@ -193,7 +193,7 @@ class build_ext(_build_ext.build_ext):
for source in pyrex_sources:
target = pyrex_targets[source]
depends = [source] + extension.depends
depends = [source] + list(extension.depends or ())
rebuild = self.force or newer_group(depends, target, 'newer')
if not rebuild and newest_dependency is not None:
rebuild = newer(newest_dependency, target)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment