accept_command: force to accept the staging if --force parameter is given
If --force parameter is given, it must to force to change the request state, otherwise --force does not work if still had pending review.
This commit is contained in:
parent
9cded5cf2d
commit
6ffe02ce94
@ -138,7 +138,8 @@ class AcceptCommand(object):
|
||||
change_request_state(self.api.apiurl,
|
||||
str(req['id']),
|
||||
'accepted',
|
||||
message='Accept to %s' % self.api.project)
|
||||
message='Accept to %s' % self.api.project,
|
||||
force=force)
|
||||
self.create_new_links(self.api.project, req['package'], oldspecs)
|
||||
|
||||
self.api.accept_status_comment(project, packages)
|
||||
|
Loading…
x
Reference in New Issue
Block a user