1 --- serf-1.3.9/SConstruct.orig 2019-07-26 17:49:30.910189251 +0000
2 +++ serf-1.3.9/SConstruct 2019-07-26 17:49:54.073821735 +0000
4 suffix='.def', src_suffix='.h')
7 -match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
8 - 'SERF_MINOR_VERSION ([0-9]+).*'
9 - 'SERF_PATCH_VERSION ([0-9]+)',
10 +match = re.search(b'SERF_MAJOR_VERSION ([0-9]+).*'
11 + b'SERF_MINOR_VERSION ([0-9]+).*'
12 + b'SERF_PATCH_VERSION ([0-9]+)',
13 env.File('serf.h').get_contents(),
15 MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
18 unknown = opts.UnknownVariables()
20 - print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
21 + print ('Warning: Used unknown variables:', ', '.join(unknown.keys()))