def init_item_data(self):
        conf = sublime.load_settings(CONFIG_BASE_NAME)
        self.items = []
        self.view_items = []

        for key in self.item_types:
            if not conf.has(key): continue
            self.items.extend(conf.get(key))

        # sort items alphabetically
        self.items.sort(key=lambda x: x[1].lower())

        for (pathname, desc) in self.items:
            title = desc

            if not title:
                if self.isapp(pathname) or path.isfile(pathname):
                    title = path.basename(pathname) or pathname
                else:
                    title = pathname

            subtitle = (self.get_item_type(pathname), pathname) % '%s %s'
            self.view_items.append([title, subtitle])
dataset/ETHPy150Open miusuncle/HiveOpener/opener.py/HiveOpenCommand.init_item_data/swapped operands of `%`