def createSubAction(self, pmenu_name, menu):
        childmenu = getattr(self, '%smenu' % pmenu_name)
        submenu = childmenu.addMenu(u'%s' % menu['name'])
        setattr(
            self,
            menu['trigger'] % '%smenu',
            submenu)
        for menuaction in menu['actions']:
            self.creatAction(submenu, menuaction)
dataset/ETHPy150Open dragondjf/PFramer/qframer/fmenubar.py/FMenuBar.createSubAction/swapped operands of `%`