mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 18:56:15 +01:00
add missing exception variable to except block
This commit is contained in:
parent
74e5eb8382
commit
8998d8d8a4
@ -4522,7 +4522,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
else:
|
||||
try:
|
||||
os.environ['mailaddr'] = get_user_data(apiurl, user, 'email')[0]
|
||||
except:
|
||||
except Exception, e:
|
||||
sys.exit('%s\nget_user_data(email) failed. Try env mailaddr=....\n' % e)
|
||||
|
||||
if opts.message:
|
||||
|
Loading…
Reference in New Issue
Block a user