~ubuntu-branches/ubuntu/saucy/nova/saucy-proposed

« back to all changes in this revision

Viewing changes to nova/api/openstack/compute/plugins/v3/server_password.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-09-09 13:11:11 UTC
  • mfrom: (1.1.74)
  • Revision ID: package-import@ubuntu.com-20130909131111-aw02ice50wac9tma
Tags: 1:2013.2~b3-0ubuntu1
* New usptream release. 
* debian/patches/avoid_requirements_cheetah.patch: Dropped
* debian/patches/fix-sqlalchemy-0.7.9-usage.patch: Dropped
* debian/patches/fix-requirements.patch: Refreshed.
* debian/patches/path-to-the-xenhost.conf-fixup.patch: Refreshed
* debian/control: Add python-jinja2
* debian/control: Dropped python-cheetah

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        except exception.InstanceNotFound as exp:
51
51
            raise webob.exc.HTTPNotFound(explanation=exp.format_message())
52
52
 
 
53
    @extensions.expected_errors(404)
53
54
    @wsgi.serializers(xml=ServerPasswordTemplate)
54
55
    def index(self, req, server_id):
55
56
        context = req.environ['nova.context']
59
60
        passw = password.extract_password(instance)
60
61
        return {'password': passw or ''}
61
62
 
 
63
    @extensions.expected_errors(404)
62
64
    @wsgi.response(204)
63
65
    def clear(self, req, server_id):
64
66
        """