← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1596131] Re: Py3 do not support "exception, e" , we should correct it with "exception as e".

 

The only remaining instances of this are for tools designed for non
python 3 envs

** Changed in: nova
       Status: New => Won't Fix

-- 
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):
  Won't Fix

Bug description:
  use py3 run the test:

  try:
      a > 1
  except Exception, e:
      print (e)

  SyntaxError: invalid syntax

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1596131/+subscriptions


References