Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
libserf
libserf-python3-2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libserf-python3-2.patch of Package libserf
------------------------------------------------------------------------ r1814604 | astieger | 2017-11-08 18:05:28 +0100 (Wed, 08 Nov 2017) | 5 lines Changed paths: M /serf/trunk/SConstruct Follow-up to r1811083, fix building with scons 3.0.0 and Python3 * SConstruct: Append decode('utf-8) to FILE.get_contents() to avoid TypeError: cannot use a string pattern on a bytes-like object ------------------------------------------------------------------------ Index: trunk/SConstruct =================================================================== --- trunk/SConstruct (revision 1814603) +++ trunk/SConstruct (revision 1814604) @@ -182,7 +182,7 @@ match = re.search('SERF_MAJOR_VERSION ([0-9]+).*' 'SERF_MINOR_VERSION ([0-9]+).*' 'SERF_PATCH_VERSION ([0-9]+)', - env.File('serf.h').get_contents(), + env.File('serf.h').get_contents().decode('utf-8'), re.DOTALL) MAJOR, MINOR, PATCH = [int(x) for x in match.groups()] env.Append(MAJOR=str(MAJOR))
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