fix: exception syntax to make it py3k compatible

Hi, 
i'm in the process of porting all gargoyle/nexus dependencies to make all of them py3k compatible.
Please help me :)

Regards, 

Olivier.