def _copy_with_args(self, searchTuples, searchExists, args, objectName): """ Does a copy and then adds some extra information. """ obj = Object(self.cnx, objectName) results = obj.search(searchTuples) new_id = obj.copy(results[0]) if self._exists(searchExists, objectName): return True else: return self._update_no_search(new_id, args, objectName)