pep8 compliance: W602 deprecated form of raising exception
This commit is contained in:
parent
523abd8b70
commit
8c8aea6b11
@ -43,7 +43,7 @@ def perform(level, box, options):
|
||||
complexity = options["Fractal complexity"]
|
||||
if options["Enable thrusters"]:
|
||||
# Errors will alert the user and print a traceback to the console.
|
||||
raise NotImplementedError, "Thrusters not attached!"
|
||||
raise NotImplementedError("Thrusters not attached!")
|
||||
|
||||
method = options["Access method"]
|
||||
|
||||
|
Reference in New Issue
Block a user