diff --git a/plone/app/linkintegrity/browser/info.py b/plone/app/linkintegrity/browser/info.py index 799d5c5..b2be8f2 100644 --- a/plone/app/linkintegrity/browser/info.py +++ b/plone/app/linkintegrity/browser/info.py @@ -53,7 +53,6 @@ def get_breaches(self, items=None): uids_to_ignore = set() uids_visited = set() self.breach_count = {} - brains_to_delete = [] path2obj = dict() path2brains = dict() @@ -69,7 +68,6 @@ def get_breaches(self, items=None): # determine breaches for obj_path, obj in path2obj.items(): brains_to_delete = path2brains[obj_path] - # prepare the collection of breaches for current item for brain_to_delete in brains_to_delete: try: obj_to_delete = brain_to_delete.getObject() # noqa