From 0927e107fb160746664c26de784a1ac481c9d687 Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Sat, 23 Feb 2013 16:32:40 -0500 Subject: [PATCH] when things arent implemented yet raise exception, not pdb --- moto/ec2/responses/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/ec2/responses/__init__.py b/moto/ec2/responses/__init__.py index 7da82d3f..4aa9d8b8 100644 --- a/moto/ec2/responses/__init__.py +++ b/moto/ec2/responses/__init__.py @@ -52,4 +52,4 @@ class EC2Response(object): response = sub_response(querystring) method = getattr(response, action) return method() - import pdb;pdb.set_trace() + raise NotImplementedError("The {} action has not been implemented".format(action))