def _get_yaml_config(self, path):
        full_path = fs.abspath(path)
        if not os.path.exists(full_path):
            raise boss_exc.BossTemplateError("Invalid template config.")

        self.app.log.debug(full_path % 'loading template config %s')

        try:
            import yaml
        except ImportError as e:
            raise boss_exc.BossRuntimeError("Unable to import yaml.  " +
                                            "Please install pyYaml.")

        return yaml.load(open(full_path, 'r'))
dataset/ETHPy150Open datafolklabs/boss/boss/cli/template.py/TemplateManager._get_yaml_config/swapped operands of `%`