Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Sep 13, 2023
1 parent e3b3b60 commit b874bdf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/model/collection.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Collection, CollectionIdentifier, CollectionMissing
from __future__ import annotations

import logging
from abc import ABCMeta, abstractmethod
from typing import TYPE_CHECKING, List, Optional

Expand Down Expand Up @@ -947,13 +946,6 @@ def delete(self, search_index=None):
# Delete the ExternalIntegration associated with this
# Collection, assuming it wasn't deleted already.
if self.external_integration:
for link in self.external_integration.links:
if link.other_integration and link.other_integration.goal == "storage":
logging.info(
f"Deletion of collection {self.name} is disassociating "
f"storage integration {link.other_integration.name}."
)

_db.delete(self.external_integration)

# Now delete the Collection itself.
Expand Down

0 comments on commit b874bdf

Please sign in to comment.