[svn r21094] Fix problem with using uninstalled pip

This commit is contained in:
Ian Bicking 2008-10-28 15:31:03 -05:00
parent 1d2098651c
commit 356b2a2547
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
News for pip
==================
============
svn trunk
---------
* Fixed small problem that prevented using ``pip.py`` without actually
installing pip.
0.2
---

2
pip.py
View File

@ -53,7 +53,7 @@ try:
pip_dist = pkg_resources.get_distribution('pip')
version = '%s from %s (python %s)' % (
pip_dist, pip_dist.location, sys.version[:3])
except DistributionNotFound:
except pkg_resources.DistributionNotFound:
# when running pip.py without installing
version=None