when things arent implemented yet raise exception, not pdb

This commit is contained in:
Steve Pulec 2013-02-23 16:32:40 -05:00
parent 1c8af2881a
commit 0927e107fb

View File

@ -52,4 +52,4 @@ class EC2Response(object):
response = sub_response(querystring) response = sub_response(querystring)
method = getattr(response, action) method = getattr(response, action)
return method() return method()
import pdb;pdb.set_trace() raise NotImplementedError("The {} action has not been implemented".format(action))