yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52798
[Bug 1596131] [NEW] Py3 do not support "exception, e" , we should correct it with "exception as e".
Public bug reported:
use py3 run the test:
try:
a > 1
except Exception, e:
print 1
SyntaxError: invalid syntax
** Affects: nova
Importance: Undecided
Assignee: jingtao liang (liang-jingtao)
Status: New
** Changed in: nova
Assignee: (unassigned) => jingtao liang (liang-jingtao)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1596131
Title:
Py3 do not support "exception, e" ,we should correct it with
"exception as e".
Status in OpenStack Compute (nova):
New
Bug description:
use py3 run the test:
try:
a > 1
except Exception, e:
print 1
SyntaxError: invalid syntax
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1596131/+subscriptions
Follow ups