mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
- print a newline after a list_view() call
This commit is contained in:
parent
6cd837fcb3
commit
dc869920b3
@ -1790,7 +1790,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if (opts.interactive or conf.config['request_show_interactive']) and not opts.non_interactive:
|
if (opts.interactive or conf.config['request_show_interactive']) and not opts.non_interactive:
|
||||||
request_interactive_review(apiurl, result)
|
request_interactive_review(apiurl, result)
|
||||||
else:
|
else:
|
||||||
print result.list_view()
|
print result.list_view(), '\n'
|
||||||
else:
|
else:
|
||||||
skipped += 1
|
skipped += 1
|
||||||
if skipped:
|
if skipped:
|
||||||
@ -4918,7 +4918,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
elif type in args_sr:
|
elif type in args_sr:
|
||||||
requests = get_request_list(apiurl, req_who=user, exclude_target_projects=exclude_projects)
|
requests = get_request_list(apiurl, req_who=user, exclude_target_projects=exclude_projects)
|
||||||
for r in requests:
|
for r in requests:
|
||||||
print r.list_view()
|
print r.list_view(), '\n'
|
||||||
return
|
return
|
||||||
elif not type in args_pkg:
|
elif not type in args_pkg:
|
||||||
raise oscerr.WrongArgs("invalid type %s" % type)
|
raise oscerr.WrongArgs("invalid type %s" % type)
|
||||||
@ -4958,7 +4958,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if list_requests:
|
if list_requests:
|
||||||
requests = get_user_projpkgs_request_list(apiurl, user, projpkgs=request_todo)
|
requests = get_user_projpkgs_request_list(apiurl, user, projpkgs=request_todo)
|
||||||
for r in requests:
|
for r in requests:
|
||||||
print r.list_view()
|
print r.list_view(), '\n'
|
||||||
else:
|
else:
|
||||||
for i in sorted(roles.keys()):
|
for i in sorted(roles.keys()):
|
||||||
out = '%s' % i
|
out = '%s' % i
|
||||||
|
@ -5788,7 +5788,7 @@ def print_request_list(apiurl, project, package = None, states = ('new', ), forc
|
|||||||
elif len(requests):
|
elif len(requests):
|
||||||
print msg % ('package', '/'.join([project, package]), len(requests))
|
print msg % ('package', '/'.join([project, package]), len(requests))
|
||||||
for r in requests:
|
for r in requests:
|
||||||
print r.list_view()
|
print r.list_view(), '\n'
|
||||||
|
|
||||||
def request_interactive_review(apiurl, request):
|
def request_interactive_review(apiurl, request):
|
||||||
"""review the request interactively"""
|
"""review the request interactively"""
|
||||||
|
Loading…
Reference in New Issue
Block a user