Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
python3-urlgrabber
use-binary-mode-when-reopening-files.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-binary-mode-when-reopening-files.patch of Package python3-urlgrabber
Index: urlgrabber-4.1.0/urlgrabber/grabber.py =================================================================== --- urlgrabber-4.1.0.orig/urlgrabber/grabber.py +++ urlgrabber-4.1.0/urlgrabber/grabber.py @@ -1857,7 +1857,7 @@ class PyCurlFileObject(object): raise err # re open it try: - self.fo = open(self.filename, 'r') + self.fo = open(self.filename, 'rb') except IOError as e: err = URLGrabError(16, _('error opening file from %s, IOError: %s') % (self.url, e))
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