Got rid of obsolete error raising syntax

`raise x, y` is obsolete. PEP-8 warning W602.