<filename>resources/lib/cache/storageserverdummy.py<gh_stars>1-10
"""
     StorageServer override
     Version: 1.0

    Copyright (C) 2010-2011 <NAME> And <NAME>
    Copyright (C) 2019 anxdpanic

    This file is part of script.common.plugin.cache

    SPDX-License-Identifier: GPL-3.0-only
    See LICENSES/GPL-3.0-only.txt for more information.
"""


class StorageServer:
    def __init__(self, table, timeout=24):
        pass

    def cacheFunction(self, funct=False, *args):
        if funct:
            return funct(*args)
        return []

    def set(self, name, data):
        return ""

    def get(self, name):
        return ""

    def setMulti(self, name, data):
        return ""

    def getMulti(self, name, items):
        return ""

    def lock(self, name):
        return False

    def unlock(self, name):
        return False

<filename>resources/lib/cache/storageserverdummy.py<gh_stars>1-10
"""
     StorageServer override
     Version: 1.0

    Copyright (C) 2010-2011 <NAME> And <NAME>
    Copyright (C) 2019 anxdpanic

    This file is part of script.common.plugin.cache

    SPDX-License-Identifier: GPL-3.0-only
    See LICENSES/GPL-3.0-only.txt for more information.
"""


class StorageServer:
    def __init__(self, table, timeout=24):
        pass

    def cacheFunction(self, funct=False, *args):
        if funct:
            return funct(*args)
        return []

    def set(self, name, data):
        return ""

    def get(self, name):
        return ""

    def setMulti(self, name, data):
        return ""

    def getMulti(self, name, items):
        return ""

    def lock(self, name):
        return False

    def unlock(self, name):
        return False

StorageServer override      Version: 1.0      Copyright (C) 2010-2011 <NAME> And <NAME>     Copyright (C) 2019 anxdpanic      This file is part of script.common.plugin.cache      SPDX-License-Identifier: GPL-3.0-only     See LICENSES/GPL-3.0-only.txt for more information.