diff options
Diffstat (limited to 'modules/repos/ksmain.50.repos.py')
-rw-r--r-- | modules/repos/ksmain.50.repos.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/repos/ksmain.50.repos.py b/modules/repos/ksmain.50.repos.py index c6b3872..e19f87a 100644 --- a/modules/repos/ksmain.50.repos.py +++ b/modules/repos/ksmain.50.repos.py @@ -4,7 +4,6 @@ import os import sys import ooblib -import urllib2 from gzip import GzipFile from StringIO import StringIO @@ -23,7 +22,7 @@ def add_to_excludes(baseurl, addexcludes): url = baseurl + '/' + repomd['primary'] print >>sys.stderr, "Reading package information from", url - fd = urllib2.urlopen(url) + fd = ooblib.cachedurlopen(url) data = fd.read() fd.close() fd = GzipFile(fileobj=StringIO(data)) |