Permalink
Browse files

Fixed exception

  • Loading branch information...
1 parent b19d35c commit adf434953bdc08adeb1347deece7a443de4ee895 Joshua Harlow committed Mar 22, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 mock/api/service.py
View
@@ -16,7 +16,4 @@ def __init__(self, config):
@webob.dec.wsgify(RequestClass=webob.Request)
def __call__(self, req):
- out_resp = webob.Response()
- out_resp.status = httplib.INTERNAL_SERVER_ERROR
- out_resp.body = "WIP"
- out_resp.content_type = "text/plain"
+ raise webob.exc.HTTPBadRequest(comment="Not implemented yet")

0 comments on commit adf4349

Please sign in to comment.