summaryrefslogtreecommitdiff
path: root/src/distutils2/index/simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/distutils2/index/simple.py')
-rw-r--r--src/distutils2/index/simple.py4
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: