[yum-commits] urlgrabber/grabber.py

zpavlas at osuosl.org zpavlas at osuosl.org
Mon Aug 27 13:51:23 UTC 2012


 urlgrabber/grabber.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 86e6a853bb2105b72abad5b9ae7836bf02d3d279
Author: Zdeněk Pavlas <zpavlas at redhat.com>
Date:   Mon Aug 27 15:39:30 2012 +0200

    fix a typo

diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
index daa478d..0d67b1f 100644
--- a/urlgrabber/grabber.py
+++ b/urlgrabber/grabber.py
@@ -2073,7 +2073,7 @@ class _ExternalDownloader:
                 if DEBUG: DEBUG.info('success')
             else:
                 ug_err = URLGrabError(int(line[4]), line[5])
-                if DEBUG: DEBUG.info('failure: %s', err)
+                if DEBUG: DEBUG.info('failure: %s', ug_err)
             _TH.update(opts.url, int(line[2]), float(line[3]), ug_err, opts.async[0])
             ret.append((opts, size, ug_err))
         return ret


More information about the Yum-commits mailing list