1
0
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:
Pavol Rusnak 2009-12-20 20:42:54 +01:00
parent 74e5eb8382
commit 8998d8d8a4

View File

@ -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: