a2d941d
Use the proper exception syntax This makes the code more compatible with Python 3, and less prone to subtle mistakes.