Revision f4ad2ef0 daemons/ganeti-rapi

b/daemons/ganeti-rapi
110 110
      method = req.request_method.upper()
111 111
      try:
112 112
        ctx.handler_fn = getattr(ctx.handler, method)
113
      except AttributeError, err:
113
      except AttributeError:
114 114
        raise http.HttpBadRequest("Method %s is unsupported for path %s" %
115 115
                                  (method, req.request_path))
116 116

  

Also available in: Unified diff