@contextlib.contextmanager
def stored(self, key):
    '\n\t\tThis is a convenience tool to make plugin storage easier.\n\t\t'
    value = self[key]
    try:
        (yield value)
    finally:
        self[key] = value
This is a convenience tool to make plugin storage easier.
@contextlib.contextmanager
def stored(self, key):
    '\n\t\t\n\t\t'
    value = self[key]
    try:
        (yield value)
    finally:
        self[key] = value