Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
python-urlgrabber.25983
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.25983
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