forked from p15670423/monkey
Island: Add RetrievalError
This commit is contained in:
parent
30065952a5
commit
922cb8cea9
|
@ -1,6 +1,6 @@
|
||||||
|
from .errors import RetrievalError
|
||||||
from .file_storage import FileRetrievalError, IFileRepository, LocalStorageFileRepository
|
from .file_storage import FileRetrievalError, IFileRepository, LocalStorageFileRepository
|
||||||
from .i_agent_binary_repository import IAgentBinaryRepository, AgentRetrievalError
|
from .i_agent_binary_repository import IAgentBinaryRepository, AgentRetrievalError
|
||||||
from .agent_binary_repository import AgentBinaryRepository
|
from .agent_binary_repository import AgentBinaryRepository
|
||||||
from .i_agent_configuration_repository import IAgentConfigurationRepository
|
from .i_agent_configuration_repository import IAgentConfigurationRepository
|
||||||
from .file_agent_configuration_repository import FileAgentConfigurationRepository
|
from .file_agent_configuration_repository import FileAgentConfigurationRepository
|
||||||
from .errors import RetrievalError
|
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
import abc
|
import abc
|
||||||
from typing import BinaryIO
|
from typing import BinaryIO
|
||||||
|
|
||||||
|
from monkey_island.cc.repository import RetrievalError
|
||||||
|
|
||||||
class FileRetrievalError(RuntimeError):
|
|
||||||
|
class FileRetrievalError(RetrievalError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue