[issue102] setuptools-0.6c11 regression in package_index.PackageIndex.fetch_distribution

New submission from Tres Seaver tseaver@palladion.com:
package_index.PackageIndex.fetch_distribution changed between 0.6c9 and 0.6c11, adding some logging, and returning a clone of the found distribution. However, the new code neglects to check that the dist is not None before cloning it.
The attached patch fixes this bug.
---------- assignedto: pje files: setuptools-0.6c11-find_distribution_miss.patch messages: 504 nosy: pje, tseaver priority: bug status: unread title: setuptools-0.6c11 regression in package_index.PackageIndex.fetch_distribution Added file: http://bugs.python.org/setuptools/file66/setuptools-0.6c11-find_distribution...
_______________________________________________ Setuptools tracker setuptools@bugs.python.org http://bugs.python.org/setuptools/issue102 _______________________________________________
participants (1)
-
Tres Seaver