Not assignment variable 'image' in api.v2.image_data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Sergey Nikitin |
Bug Description
Raise UnboundLocalError in 'try expect' block while catching exception using a var 'image'.
File "/opt/stack/
self.
File "/opt/stack/
mismatch_error = self._matchHelp
File "/opt/stack/
mismatch = matcher.
File "/opt/stack/
mismatch = self.exception_
File "/opt/stack/
mismatch = matcher.
File "/opt/stack/
reraise(
File "/opt/stack/
result = matchee()
File "/opt/stack/
return self._callable_
File "glance/
return func(self, req, *args, **kwargs)
File "glance/
self.
UnboundLocalError: local variable 'image' referenced before assignment
Changed in glance: | |
assignee: | nobody → Sergey Nikitin (snikitin) |
Changed in glance: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/89499
Review: https:/