def _cleanup_object(self, object): Import._cleanup_object(self, object) if object.ignored: object.id = object.first_package.id