Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
python3-urlgrabber
avoid_crashing_when_urlgrabber_debug_enabled.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File avoid_crashing_when_urlgrabber_debug_enabled.patch of Package python3-urlgrabber
From 4c2c0c12e77803a85cbc7d69eaff04b29aab2934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= <psuarezhernandez@suse.com> 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()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor