Commit 37ecaf8d authored by Łukasz Nowak's avatar Łukasz Nowak

ignored BadRequest.

This is yet another case of object being already removed.
parent 2440ecfb
...@@ -1343,7 +1343,7 @@ class PathTemplateItem(ObjectTemplateItem): ...@@ -1343,7 +1343,7 @@ class PathTemplateItem(ObjectTemplateItem):
object_id, save=1, object_id, save=1,
keep_subobjects=1) keep_subobjects=1)
container.manage_delObjects([object_id]) container.manage_delObjects([object_id])
except (NotFound, KeyError): except (NotFound, KeyError, BadRequest):
# object is already backup and/or removed # object is already backup and/or removed
pass pass
BaseTemplateItem.uninstall(self, context, **kw) BaseTemplateItem.uninstall(self, context, **kw)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment