~annegentle/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/api/openstack/contrib/floating_ips.py

  • Committer: Tarmac
  • Author(s): Matthew Hooker
  • Date: 2011-08-10 14:53:53 UTC
  • mfrom: (1355.2.24 pylint-fixes)
  • Revision ID: tarmac-20110810145353-rmc0lkjirgunxe08
These fixes are the result of trolling the pylint violations here

https://jenkins.openstack.org/job/nova-pylint-errors/violations/

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
    def delete(self, req, id):
103
103
        context = req.environ['nova.context']
104
104
        ip = self.network_api.get_floating_ip(context, id)
105
 
        
 
105
 
106
106
        if 'fixed_ip' in ip:
107
107
            try:
108
108
                self.disassociate(req, id, '')