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

Tres Seaver setuptools at bugs.python.org
Mon Feb 22 17:16:37 CET 2010


New submission from Tres Seaver <tseaver at 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_miss.patch

_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue102>
_______________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setuptools-0.6c11-find_distribution_miss.patch
Type: text/x-diff
Size: 873 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100222/4efbc160/attachment.patch>


More information about the Distutils-SIG mailing list