From 9453dbea89ec9f7a0f0bd196b56552464639087c Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 6 Dec 2017 17:52:51 -0200 Subject: [refactor] remove unneeded class --- docs/api/blobs-server-backend.rst | 10 ---------- src/leap/soledad/server/_blobs.py | 1 - src/leap/soledad/server/interfaces.py | 7 ------- 3 files changed, 18 deletions(-) diff --git a/docs/api/blobs-server-backend.rst b/docs/api/blobs-server-backend.rst index 5a9e1033..770ac806 100644 --- a/docs/api/blobs-server-backend.rst +++ b/docs/api/blobs-server-backend.rst @@ -9,13 +9,3 @@ Blobs Backend Interface :undoc-members: :special-members: __init__ :show-inheritance: - - -Incoming Box Backend Interface ------------------------------- - -.. autoclass:: leap.soledad.server.interfaces.IIncomingBoxBackend - :members: - :undoc-members: - :special-members: __init__ - :show-inheritance: diff --git a/src/leap/soledad/server/_blobs.py b/src/leap/soledad/server/_blobs.py index 5f5ae5ac..30dcb60b 100644 --- a/src/leap/soledad/server/_blobs.py +++ b/src/leap/soledad/server/_blobs.py @@ -59,7 +59,6 @@ VALID_STRINGS = re.compile('^[a-zA-Z0-9_-]+$') @implementer(interfaces.IBlobsBackend) -@implementer(interfaces.IIncomingBoxBackend) class FilesystemBlobsBackend(object): def __init__(self, blobs_path='/tmp/blobs/', quota=200 * 1024, diff --git a/src/leap/soledad/server/interfaces.py b/src/leap/soledad/server/interfaces.py index 9a64ee76..674fd8e6 100644 --- a/src/leap/soledad/server/interfaces.py +++ b/src/leap/soledad/server/interfaces.py @@ -171,13 +171,6 @@ class IBlobsBackend(Interface): :type namespace: str """ - -class IIncomingBoxBackend(Interface): - - """ - An interface for a backend that can deliver - """ - def get_flags(user, blob_id, request, namespace=''): """ Get the flags for a blob. -- cgit v1.2.3