projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
f3068bf
)
python: Fix exception handler compatibility.
author
Russell Bryant
<russell@ovn.org>
Wed, 6 Jan 2016 18:48:16 +0000
(13:48 -0500)
committer
Russell Bryant
<russell@ovn.org>
Tue, 12 Jan 2016 16:47:33 +0000
(11:47 -0500)
Python 3 dropped exception handlers of the deprecated form:
except Exception, e:
You must use the newer syntax of:
except Exception as e:
This patch also enables a flake8 warning for this.
H231 Python 3.x incompatible 'except x,y:' construct
Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
No differences found