From da8ed9e6db85c346e0d1bcc7d39b228160485b87 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 29 Aug 2022 19:35:04 -0400 Subject: [PATCH] Island: Fix ICredentialsRepository import in MongoCredentialsRepository --- .../cc/repository/mongo_credentials_repository.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/repository/mongo_credentials_repository.py b/monkey/monkey_island/cc/repository/mongo_credentials_repository.py index 25789f937..351cac981 100644 --- a/monkey/monkey_island/cc/repository/mongo_credentials_repository.py +++ b/monkey/monkey_island/cc/repository/mongo_credentials_repository.py @@ -3,8 +3,12 @@ from typing import Any, Dict, Mapping, Sequence from pymongo import MongoClient from common.credentials import Credentials -from monkey_island.cc.repository import RemovalError, RetrievalError, StorageError -from monkey_island.cc.repository.i_credentials_repository import ICredentialsRepository +from monkey_island.cc.repository import ( + ICredentialsRepository, + RemovalError, + RetrievalError, + StorageError, +) from monkey_island.cc.server_utils.encryption import ILockableEncryptor from .consts import MONGO_OBJECT_ID_KEY