From 6a4b9bcc03328f620cedb640892ae995a6cd3d30 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Mon, 22 Aug 2005 00:32:48 +0000 Subject: Fix a problem running build_ext -i w/no extensions. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041217 --- setuptools/command/build_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/build_ext.py') diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index a2f2db09..4752a239 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -20,7 +20,7 @@ class build_ext(_build_ext): def copy_extensions_to_source(self): build_py = self.get_finalized_command('build_py') - for ext in self.extensions: + for ext in self.extensions or (): fullname = ext.name modpath = fullname.split('.') package = '.'.join(modpath[:-1]) -- cgit v1.2.1