diff options
| author | Alexis Metaireau <ametaireau@gmail.com> | 2010-08-13 16:52:05 +0200 |
|---|---|---|
| committer | Alexis Metaireau <ametaireau@gmail.com> | 2010-08-13 16:52:05 +0200 |
| commit | c4bfeb56d1d5f83cc215dffbfc0ee804c722ce5c (patch) | |
| tree | d9dcfaccebbe2031e99ca8b7e63c9d58af7997a1 /src/distutils2/index/simple.py | |
| parent | d9920b49ff8a5e0042f115d00ff9dc219f73b312 (diff) | |
| download | disutils2-c4bfeb56d1d5f83cc215dffbfc0ee804c722ce5c.tar.gz | |
Rename index.IndexesError to DistutilsIndexError
Diffstat (limited to 'src/distutils2/index/simple.py')
| -rw-r--r-- | src/distutils2/index/simple.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/distutils2/index/simple.py b/src/distutils2/index/simple.py index cdb19c6..ea990f3 100644 --- a/src/distutils2/index/simple.py +++ b/src/distutils2/index/simple.py @@ -17,7 +17,7 @@ import os from distutils2.index.base import BaseClient from distutils2.index.dist import (ReleasesList, EXTENSIONS, get_infos_from_url, MD5_HASH) -from distutils2.index.errors import (IndexesError, DownloadError, +from distutils2.index.errors import (DistutilsIndexError, DownloadError, UnableToDownload, CantParseArchiveName, ReleaseNotFound, ProjectNotFound) from distutils2.index.mirrors import get_mirrors @@ -395,7 +395,7 @@ class Crawler(BaseClient): fp = urllib2.urlopen(request) except (ValueError, httplib.InvalidURL), v: msg = ' '.join([str(arg) for arg in v.args]) - raise IndexesError('%s %s' % (url, msg)) + raise DistutilsIndexError('%s %s' % (url, msg)) except urllib2.HTTPError, v: return v except urllib2.URLError, v: |
