From e710b94aa7608d12cc2d81b27342dae34f69d2ca Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 30 Aug 2010 12:23:35 +0200 Subject: [PATCH] safety fix --- Cython/Distutils/build_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2