From 68b9a791009af00f1fb16fc3c59b0cc4de8ea7c9 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Sun, 24 Jul 2005 05:51:07 +0000 Subject: Fix a regression; this code was changed in order to avoid being fooled by incompatible eggs that might have ended up in the distribution directory, but the "fixed" code was broken. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041148 --- setuptools/command/easy_install.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 110ad211..78620c0c 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -766,9 +766,9 @@ See the setuptools documentation for the "develop" command for more info. self.run_setup(setup_script, setup_base, args) all_eggs = AvailableDistributions([dist_dir]) eggs = [] - for key in eggs: - for dist in eggs[key]: - eggs.append(self.install_egg(egg, setup_base)) + for key in all_eggs: + for dist in all_eggs[key]: + eggs.append(self.install_egg(dist.location, setup_base)) if not eggs and not self.dry_run: log.warn("No eggs found in %s (setup script problem?)", dist_dir) -- cgit v1.2.1