From: Stefan Behnel Date: Mon, 30 Aug 2010 10:23:35 +0000 (+0200) Subject: safety fix X-Git-Tag: 0.14.alpha0~354 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e710b94aa7608d12cc2d81b27342dae34f69d2ca;p=cython.git safety fix --- diff --git a/Cython/Distutils/build_ext.py b/Cython/Distutils/build_ext.py index bda917fc..397f0972 100644 --- a/Cython/Distutils/build_ext.py +++ b/Cython/Distutils/build_ext.py @@ -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)