mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 06:46:13 +01:00
Fix wipebinaries
This commit is contained in:
parent
2d7f644f44
commit
b2e94ff3af
@ -5677,8 +5677,8 @@ def abortbuild(apiurl, project, package=None, arch=None, repo=None):
|
||||
def restartbuild(apiurl, project, package=None, arch=None, repo=None):
|
||||
return cmdbuild(apiurl, 'restartbuild', project, package, arch, repo)
|
||||
|
||||
def wipebinaries(apiurl, project, package=None, arch=None, repo=None):
|
||||
return cmdbuild(apiurl, 'wipebinaries', project, package, arch, repo)
|
||||
def wipebinaries(apiurl, project, package=None, arch=None, repo=None, code=None):
|
||||
return cmdbuild(apiurl, 'wipe', project, package, arch, repo, code)
|
||||
|
||||
|
||||
def cmdbuild(apiurl, cmd, project, package=None, arch=None, repo=None, code=None):
|
||||
@ -5696,7 +5696,7 @@ def cmdbuild(apiurl, cmd, project, package=None, arch=None, repo=None, code=None
|
||||
try:
|
||||
f = http_POST(u)
|
||||
except HTTPError as e:
|
||||
e.osc_msg = 'wipe binary rpms failed for project %s' % project
|
||||
e.osc_msg = '%s command failed for project %s' % (cmd, project)
|
||||
if package:
|
||||
e.osc_msg += ' package %s' % package
|
||||
if arch:
|
||||
|
Loading…
Reference in New Issue
Block a user