How to fix: W602 deprecated form of raising exception

Viewed 7318

If I use pylint (via sublimerlinter) I get following warning message:

W602 deprecated form of raising exception

This I how I use exceptions in my code:

if CONDITION == True:
    raise ValueError, HELPING_EXPLANATION
1 Answers
Related