Commit 8bfcf2b3 authored by Łukasz Nowak's avatar Łukasz Nowak

Ignore only in force mode.

In case of no force mode, user might want to really replace the object.
parent 5e98a8ef
......@@ -992,7 +992,7 @@ class ObjectTemplateItem(BaseTemplateItem):
old_obj = container._getOb(object_id, None)
object_existed = old_obj is not None
if object_existed:
if context.isKeepObject(path):
if context.isKeepObject(path) and force:
# do nothing if the object is specified in keep list in
# force mode.
continue
......
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