mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
Avoid (useless) info message during interactive review
It is perfectly fine, if a request has no src actions (the wording of the old message could be interpreted as an error...).
This commit is contained in:
parent
164435dcb9
commit
c96928ce9a
@ -7064,8 +7064,6 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None,
|
||||
def print_source_buildstatus(src_actions, newline=False):
|
||||
if newline:
|
||||
print()
|
||||
if not src_actions:
|
||||
print('unable to get source buildstatus: no source actions defined')
|
||||
for action in src_actions:
|
||||
print('%s/%s:' % (action.src_project, action.src_package))
|
||||
try:
|
||||
@ -7088,7 +7086,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None,
|
||||
prompt = 'd(i)ff/(a)ccept/(d)ecline/(r)evoke/(b)uildstatus/c(l)one/co(m)ment/(s)kip/(c)ancel > '
|
||||
editprj = ''
|
||||
orequest = None
|
||||
if source_buildstatus:
|
||||
if source_buildstatus and src_actions:
|
||||
print_source_buildstatus(src_actions, newline=True)
|
||||
while True:
|
||||
if initial_cmd:
|
||||
|
Loading…
Reference in New Issue
Block a user