def load_lingobarter_config(self, config=None, mode=None, test=None, **sets):
        # first load from global settings object
        self.from_object(config or 'lingobarter.settings')
        # then load from local or test settings
        mode = mode or 'test' if test else os.environ.get(
            'LINGOBARTER_MODE', 'local')
        self.from_object(mode % 'lingobarter.%s_settings', silent=True)
        path = "LINGOBARTER_SETTINGS" if not test else "LINGOBARTERTEST_SETTINGS"
        self.from_envvar(path, silent=True)
        self.from_envvar_namespace(namespace='LINGOBARTER', silent=True)
        self.update(sets)
dataset/ETHPy150Open LeightonStreet/LingoBarter/lingobarter/core/config.py/LingobarterConfig.load_lingobarter_config/swapped operands of `%`