~ubuntu-branches/ubuntu/raring/nova/raring-proposed

« back to all changes in this revision

Viewing changes to nova/api/openstack/compute/contrib/agents.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, James Page, Chuck Short
  • Date: 2013-04-02 08:44:39 UTC
  • mfrom: (1.1.70)
  • Revision ID: package-import@ubuntu.com-20130402084439-e6veyayncnqpxxct
Tags: 1:2013.1~rc2-0ubuntu1
[ James Page ]
* d/control: Promote novnc and websockify to Depends for
  nova-novncproxy (LP: #1066845). 

[ Chuck Short ]
*  New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
                                 'url': url,
110
110
                                 'md5hash': md5hash})
111
111
        except exception.AgentBuildNotFound as ex:
112
 
            raise webob.exc.HTTPNotFound(explanation=str(ex))
 
112
            raise webob.exc.HTTPNotFound(explanation=ex.format_message())
113
113
 
114
114
        return {"agent": {'agent_id': id, 'version': version,
115
115
                'url': url, 'md5hash': md5hash}}
122
122
        try:
123
123
            db.agent_build_destroy(context, id)
124
124
        except exception.AgentBuildNotFound as ex:
125
 
            raise webob.exc.HTTPNotFound(explanation=str(ex))
 
125
            raise webob.exc.HTTPNotFound(explanation=ex.format_message())
126
126
 
127
127
    def create(self, req, body):
128
128
        """Creates a new agent build."""