Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-urlgrabber for
openSUSE:Factory checked in at 2022-08-03 21:17:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-urlgrabber (Old)
and /work/SRC/openSUSE:Factory/.python-urlgrabber.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-urlgrabber"
Wed Aug 3 21:17:04 2022 rev:31 rq:992606 version:4.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-urlgrabber/python-urlgrabber.changes
2022-06-17 21:23:24.194802340 +0200
+++
/work/SRC/openSUSE:Factory/.python-urlgrabber.new.1533/python-urlgrabber.changes
2022-08-03 21:17:22.787549430 +0200
@@ -1,0 +2,8 @@
+Wed Aug 3 14:30:01 UTC 2022 - Pablo Su??rez Hern??ndez
<[email protected]>
+
+- Avoid crashing when setting URLGRABBER_DEBUG=1 environment variable
+
+- Added:
+ * avoid_crashing_when_urlgrabber_debug_enabled.patch
+
+-------------------------------------------------------------------
New:
----
avoid_crashing_when_urlgrabber_debug_enabled.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-urlgrabber.spec ++++++
--- /var/tmp/diff_new_pack.EMSLwK/_old 2022-08-03 21:17:23.203550522 +0200
+++ /var/tmp/diff_new_pack.EMSLwK/_new 2022-08-03 21:17:23.207550533 +0200
@@ -30,6 +30,8 @@
Patch0: use-binary-mode-when-reopening-files.patch
# PATCH-FIX_UPSTREAM
https://github.com/rpm-software-management/urlgrabber/pull/35
Patch1: fix_find_proxy_logic_and_drop_six.patch
+# PATCH-FIX_UPSTREAM
https://github.com/rpm-software-management/urlgrabber/pull/34
+Patch2: avoid_crashing_when_urlgrabber_debug_enabled.patch
BuildRequires: %{python_module pycurl}
BuildRequires: %{python_module setuptools}
++++++ avoid_crashing_when_urlgrabber_debug_enabled.patch ++++++
>From 4c2c0c12e77803a85cbc7d69eaff04b29aab2934 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?=
<[email protected]>
Date: Thu, 17 Mar 2022 11:50:39 +0000
Subject: [PATCH] Convert dict_keys to list to not crash when delegate is
enabled
---
urlgrabber/grabber.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: urlgrabber-4.1.0/urlgrabber/grabber.py
===================================================================
--- urlgrabber-4.1.0.orig/urlgrabber/grabber.py
+++ urlgrabber-4.1.0/urlgrabber/grabber.py
@@ -1091,7 +1091,7 @@ class URLGrabberOptions:
return self.format()
def format(self, indent=' '):
- keys = self.__dict__.keys()
+ keys = list(self.__dict__.keys())
if self.delegate is not None:
keys.remove('delegate')
keys.sort()