Add support for Python 3
authorMichael Prokop <mika@grml.org>
Fri, 4 Jul 2014 07:59:23 +0000 (09:59 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 4 Jul 2014 08:07:42 +0000 (10:07 +0200)
commitf434e19e7be373a15faa990d34e85253ef7168c3
tree7ccc67fd0be970911ee6991c8429e248c711f5dd
parent765b8e5c7a176c47e51b026b3a14a4b450deaa10
Add support for Python 3

'ExceptionType, name' is deprecated since 2.6 and disestablished
since Python 3, so use 'ExceptionType as name' instead.

Also the print statement has been replaced with a print() function.

Reviewed-by: Evgeni Golov <evgeni@grml.org>
grml2usb