Ignore TypeErrors on old properties during update
Extend the approach from1cfde62b2f
of ignoring ValueErrors in the _previous_ properties when doing an update to also ignoring TypeErrors. Change-Id: Ic08165fe031e1764cfb34eaf782d3e105f04fee3 Closes-Bug: #1538551 Related-Bug: #1543685 (cherry picked from commit79c410d923
)
This commit is contained in:
parent
4116ec36ba
commit
94a840d486
|
@ -495,7 +495,7 @@ class Resource(object):
|
|||
def prop_changed(key):
|
||||
try:
|
||||
before = before_props.get(key)
|
||||
except ValueError as exc:
|
||||
except (TypeError, ValueError) as exc:
|
||||
# We shouldn't get here usually, but there is a known issue
|
||||
# with template resources and new parameters in non-convergence
|
||||
# stacks (see bug 1543685). The error should be harmless
|
||||
|
|
Loading…
Reference in New Issue