Fix one more newline - not just in print

This commit is contained in:
Stephan Kulow 2019-03-27 09:06:35 +01:00
parent eae888473a
commit a8bf788456

View File

@ -246,7 +246,7 @@ class InstallChecker(object):
def upload_failure(self, project, comment):
print(project, '\n'.join(comment))
url = self.api.makeurl(['source', 'home:repo-checker', 'reports', project])
osc.core.http_PUT(url, data=''.join(comment))
osc.core.http_PUT(url, data='\n'.join(comment))
url = self.api.apiurl.replace('api.', 'build.')
return '{}/package/view_file/home:repo-checker/reports/{}'.format(url, project)