From 8c8aea6b11069517d72998c5bf1edfa3ab81b98a Mon Sep 17 00:00:00 2001 From: David Sowder Date: Thu, 23 Feb 2012 18:03:37 -0600 Subject: [PATCH] pep8 compliance: W602 deprecated form of raising exception --- filters/demo/filterdemo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/demo/filterdemo.py b/filters/demo/filterdemo.py index 1531a2b..71d83de 100644 --- a/filters/demo/filterdemo.py +++ b/filters/demo/filterdemo.py @@ -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"]