diff --git a/docs/news.txt b/docs/news.txt index 9e7f7b77e..f8a3521c5 100644 --- a/docs/news.txt +++ b/docs/news.txt @@ -1,5 +1,11 @@ News for pip -================== +============ + +svn trunk +--------- + +* Fixed small problem that prevented using ``pip.py`` without actually + installing pip. 0.2 --- diff --git a/pip.py b/pip.py index 9e99272c3..c285023a1 100644 --- a/pip.py +++ b/pip.py @@ -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