From c5fbb4443e4bb5c6a35115097b4838f90092d93f Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Thu, 28 Jun 2012 15:05:45 +0800 Subject: [PATCH] typo error using url --- gitbuildsys/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitbuildsys/utils.py b/gitbuildsys/utils.py index 344c672..cedde80 100644 --- a/gitbuildsys/utils.py +++ b/gitbuildsys/utils.py @@ -114,7 +114,7 @@ def urlgrab(url, filename, user = None, passwd = None): except pycurl.error, e: errcode = e.args[0] if errcode == pycurl.E_OPERATION_TIMEOUTED: - raise errors.UrlError('timeout on %s: %s' % (self.url, e)) + raise errors.UrlError('timeout on %s: %s' % (url, e)) elif errcode == pycurl.E_FILESIZE_EXCEEDED: raise errors.UrlError('max download size exceeded on %s'\ % self.url) -- 2.7.4