From 0f8fdb4b0b221766fee5aac0fd8463d0ba7ebd1d Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Tue, 21 Nov 2023 13:29:08 +0200 Subject: [PATCH] Remove MailboxStorage TODO --- src/storage/storage.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/storage/storage.py b/src/storage/storage.py index c000132c..9b33eef7 100644 --- a/src/storage/storage.py +++ b/src/storage/storage.py @@ -2,15 +2,13 @@ Storing inventory items """ -from abc import ABCMeta, abstractmethod +from abc import abstractmethod from collections import namedtuple try: from collections import MutableMapping # pylint: disable=deprecated-class except ImportError: from collections.abc import MutableMapping -import six - InventoryItem = namedtuple('InventoryItem', 'type stream payload expires tag') @@ -47,9 +45,3 @@ class InventoryStorage(MutableMapping): def clean(self): """Free memory / perform garbage collection""" pass - - -@six.add_metaclass(ABCMeta) -class MailboxStorage(MutableMapping): - """An abstract class for storing mails. TODO""" - pass