storage flake8 fixes
This commit is contained in:
parent
da5d085a39
commit
e924e9208f
|
@ -2,12 +2,14 @@ import collections
|
||||||
|
|
||||||
InventoryItem = collections.namedtuple('InventoryItem', 'type stream payload expires tag')
|
InventoryItem = collections.namedtuple('InventoryItem', 'type stream payload expires tag')
|
||||||
|
|
||||||
|
|
||||||
class Storage(object):
|
class Storage(object):
|
||||||
"""Base class for storing inventory (extendable for other items to store)"""
|
"""Base class for storing inventory (extendable for other items to store)"""
|
||||||
pass
|
pass
|
||||||
# def __init__(self):
|
# def __init__(self):
|
||||||
# super(self.__class__, self).__init__()
|
# super(self.__class__, self).__init__()
|
||||||
|
|
||||||
|
|
||||||
class InventoryStorage(Storage, collections.MutableMapping):
|
class InventoryStorage(Storage, collections.MutableMapping):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# super(self.__class__, self).__init__()
|
# super(self.__class__, self).__init__()
|
||||||
|
@ -47,6 +49,7 @@ class InventoryStorage(Storage, collections.MutableMapping):
|
||||||
"""Free memory / perform garbage collection"""
|
"""Free memory / perform garbage collection"""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
||||||
class MailboxStorage(Storage, collections.MutableMapping):
|
class MailboxStorage(Storage, collections.MutableMapping):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# super(self.__class__, self).__init__()
|
# super(self.__class__, self).__init__()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user