1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-02 17:56:15 +01:00

fetch.py: reworded Fetcher.failureReport message a bit

Based on PR#182.
This commit is contained in:
Marcus Huewe 2016-02-05 11:28:47 +01:00
parent b40d856e67
commit 89ac49f659

View File

@ -96,8 +96,8 @@ class Fetcher:
"""failure output for failovers from urlgrabber""" """failure output for failovers from urlgrabber"""
if errobj.url.startswith('file://'): if errobj.url.startswith('file://'):
return {} return {}
print('Trying openSUSE Build Service server for %s (%s), not found at %s.' print('%s/%s: attempting download from api, since not found at %s'
% (self.curpac, self.curpac.project, errobj.url.split('/')[2])) % (self.curpac.project, self.curpac, errobj.url.split('/')[2]))
return {} return {}
def __add_cpio(self, pac): def __add_cpio(self, pac):