mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-12 08:56:13 +01:00
- do not hide api side error message
This commit is contained in:
parent
f59b60e206
commit
cf9d65b09d
@ -2278,14 +2278,13 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
body = e.read()
|
body = e.read()
|
||||||
if e.code in [403]:
|
if e.code in [403]:
|
||||||
if review.by_user:
|
if review.by_user:
|
||||||
print('No permission on review by user %s' % review.by_user)
|
print('No permission on review by user %s:' % review.by_user)
|
||||||
if review.by_group:
|
if review.by_group:
|
||||||
print('No permission on review by group %s' % review.by_group)
|
print('No permission on review by group %s' % review.by_group)
|
||||||
if review.by_package:
|
if review.by_package:
|
||||||
print('No permission on review by package %s / %s' % (review.by_project, review.by_package))
|
print('No permission on review by package %s / %s' % (review.by_project, review.by_package))
|
||||||
elif review.by_project:
|
elif review.by_project:
|
||||||
print('No permission on review by project %s' % review.by_project)
|
print('No permission on review by project %s' % review.by_project)
|
||||||
else:
|
|
||||||
print(e, file=sys.stderr)
|
print(e, file=sys.stderr)
|
||||||
else:
|
else:
|
||||||
print('Request is closed, please reopen the request first before changing any reviews.')
|
print('Request is closed, please reopen the request first before changing any reviews.')
|
||||||
|
Loading…
Reference in New Issue
Block a user