Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
python-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 python-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