a2d941d Use the proper exception syntax

Authored and Committed by bochecha 9 years ago
    Use the proper exception syntax
    
    This makes the code more compatible with Python 3, and less prone to
    subtle mistakes.
    
        
file modified
+23 -23
file modified
+4 -4