~hudson-openstack/burrow/trunk

« back to all changes in this revision

Viewing changes to burrow/backend/http.py

  • Committer: Tarmac
  • Author(s): Eric Day
  • Date: 2011-08-10 07:28:01 UTC
  • mfrom: (16.3.24 backend-unittests)
  • Revision ID: tarmac-20110810072801-32ue4p8boiepxhjg
Pushed wait functionality down into backend, removed frontend tests since this is replaced with HTTP backend test now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
                    return
140
140
            yield body
141
141
        if response.status == 400:
142
 
            raise burrow.backend.InvalidArguments()
 
142
            raise burrow.backend.InvalidArguments(response.reason)
143
143
        if response.status == 404:
144
144
            raise burrow.backend.NotFound()
145
145
        raise Exception(response.reason)