python: use python 3 exception syntax
commit8264710bfe7d270a5b3ec7448492f1135f694d41
authorTobias Grosser <tobias@grosser.es>
Mon, 21 Nov 2016 13:40:48 +0000 (21 14:40 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 2 Dec 2016 10:24:02 +0000 (2 11:24 +0100)
tree7d12c5c0c6d6d6a22fbc08f73889ac05da32a79b
parent616f1fa757b8bca224f020bce4a23a042db34311
python: use python 3 exception syntax

This syntax works for both python 2 and python 3, whereas the old syntax
is not supported in python 3.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
interface/python.cc