def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
    cp = _DBVistrail.do_copy(self, new_ids, id_scope, id_remap)
    cp.__class__ = DBVistrail
    cp.idScope = copy.copy(self.idScope)
    cp.db_objects = copy.copy(self.db_objects)
    cp.log_filename = self.log_filename
    if (self.log is not None):
        cp.log = copy.copy(self.log)
    else:
        cp.log = None
    return cp
def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
    cp = _DBVistrail.do_copy(self, new_ids, id_scope, id_remap)
    cp.__class__ = DBVistrail
    cp.idScope = copy.copy(self.idScope)
    cp.db_objects = copy.copy(self.db_objects)
    cp.log_filename = self.log_filename
    if (self.log is not None):
        cp.log = copy.copy(self.log)
    else:
        cp.log = None
    return cp