[python-urlgrabber] update to latest HEAD

Zdeněk Pavlas zpavlas at fedoraproject.org
Mon Jan 7 12:27:37 UTC 2013


commit d1370094ded3c75efb49a82e114b4fd68ee9914b
Author: Zdeněk Pavlas <zpavlas at redhat.com>
Date:   Mon Jan 7 13:25:16 2013 +0100

    update to latest HEAD

 python-urlgrabber.spec |    6 +++++-
 urlgrabber-HEAD.patch  |    4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/python-urlgrabber.spec b/python-urlgrabber.spec
index fce2cee..56f0f90 100644
--- a/python-urlgrabber.spec
+++ b/python-urlgrabber.spec
@@ -3,7 +3,7 @@
 Summary: A high-level cross-protocol url-grabber
 Name: python-urlgrabber
 Version: 3.9.1
-Release: 22%{?dist}
+Release: 23%{?dist}
 Source0: urlgrabber-%{version}.tar.gz
 Patch1: urlgrabber-HEAD.patch
 
@@ -44,6 +44,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0755,root,root) %{_libexecdir}/urlgrabber-ext-down
 
 %changelog
+* Mon Jan  7 2013 Zdeněk Pavlas <zpavlas at redhat.com> - 3.9.1-23
+- Update to latest HEAD.
+- Handle checkfunc unicode exceptions. BZ 672117
+
 * Thu Dec  6 2012 Zdeněk Pavlas <zpavlas at redhat.com> - 3.9.1-22
 - Update to latest HEAD.
 - Improve URLGRABBER_DEBUG, add max_connections.  BZ 853432
diff --git a/urlgrabber-HEAD.patch b/urlgrabber-HEAD.patch
index bc028de..aaf9cbc 100644
--- a/urlgrabber-HEAD.patch
+++ b/urlgrabber-HEAD.patch
@@ -236,7 +236,7 @@ index 3e5f3b7..8eeaeda 100644
      return (fb,lb)
  
 diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
-index e090e90..78c2e59 100644
+index e090e90..6ce9861 100644
 --- a/urlgrabber/grabber.py
 +++ b/urlgrabber/grabber.py
 @@ -49,11 +49,26 @@ GENERAL ARGUMENTS (kwargs)
@@ -1575,7 +1575,7 @@ index e090e90..78c2e59 100644
 +
 +            if opts.mirror_group:
 +                mg, errors, failed, removed = opts.mirror_group
-+                errors.append((opts.url, str(ug_err)))
++                errors.append((opts.url, exception2msg(ug_err)))
 +                failed[key] = failed.get(key, 0) + 1
 +                opts.mirror = key
 +                opts.exception = ug_err


More information about the scm-commits mailing list