Revision 6e99c5a0 daemons/ganeti-rapi

b/daemons/ganeti-rapi
106 106
      try:
107 107
        ctx.handler_fn = getattr(ctx.handler, method)
108 108
      except AttributeError, err:
109
        raise http.HttpBadRequest()
109
        raise http.HttpBadRequest("Method %s is unsupported for path %s" %
110
                                  (method, req.request_path))
110 111

  
111 112
      ctx.handler_access = getattr(ctx.handler, "%s_ACCESS" % method, None)
112 113

  

Also available in: Unified diff