cleanup_rings: fix python3 bytes/string type error
This commit is contained in:
parent
0c3764202c
commit
2f980076cc
@ -143,6 +143,7 @@ class CleanupRings(object):
|
||||
def check_buildconfig(self, project):
|
||||
url = makeurl(self.api.apiurl, ['build', project, 'standard', '_buildconfig'])
|
||||
for line in http_GET(url).read().splitlines():
|
||||
line = line.decode('utf-8')
|
||||
if line.startswith('Preinstall:') or line.startswith('Support:'):
|
||||
for prein in line.split(':')[1].split():
|
||||
if prein not in self.bin2src:
|
||||
|
Loading…
x
Reference in New Issue
Block a user