~ubuntu-branches/ubuntu/trusty/heat/trusty-security

« back to all changes in this revision

Viewing changes to heat/engine/resources/neutron/neutron.py

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-10-12 16:53:03 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20131012165303-0sc41ujl3luuu56q
Tags: 2013.2~rc2-0ubuntu1
New upstream release candidate (LP: #1239156).

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
                yield
109
109
                self._show_resource()
110
110
            except NeutronClientException as ex:
111
 
                if ex.status_code != 404:
112
 
                    raise ex
 
111
                self._handle_not_found_exception(ex)
113
112
                return
114
113
 
 
114
    def _handle_not_found_exception(self, ex):
 
115
        if ex.status_code != 404:
 
116
            raise ex
 
117
 
115
118
    def FnGetRefId(self):
116
119
        return unicode(self.resource_id)
117
120