def tab_changed(self, index):
        if index != self.index:
            return

        try:
            while self._neo.locked:
                try:
                    self._neo.unlock()
                except Exception as e:
                    del self._neo.key
                    print e
                    pw, ok = get_text(self, m.key_required, m.key_required_desc)
                    if not ok:
                        self.parent.setCurrentIndex(0)
                        return
                    self._neo.key = pw

            appletmanager = QtCore.QCoreApplication.instance().appletmanager
            self._apps = filter(None, map(appletmanager.get_applet,
                                          self._neo.list_apps()))
            self._apps_list.model().setStringList(
                map(lambda app: (app.name, app.aid) % "%s (%s)", self._apps))
        except AttributeError:
            pass
dataset/ETHPy150Open Yubico/yubikey-neo-manager/neoman/view/neo.py/AppsTab.tab_changed/swapped operands of `%`