def __init__(self, object, oldParent=None, oldName=None): if oldParent is None: oldParent = object.aq_inner.aq_parent if oldName is None: oldName = object.id ObjectMovedEvent.__init__(self, object, oldParent, oldName, None, None)
def __init__(self, object, newParent=None, newName=None): if newParent is None: newParent = object.aq_inner.aq_parent if newName is None: newName = object.id ObjectMovedEvent.__init__(self, object, None, None, newParent, newName)