(self)
return Variable(base_menu.split(' = ')[0], base_menu)
Generates a nautilus menu variable.
Generates a nautilus menu variable.
Generates a nautilus menu variable .
def generate_menu(self):
        '''
        Generates a nautilus menu variable.
        '''
        base_menu = ExistingCode.SUB_MENU.value
        base_menu = base_menu.format(self.counter)
        self.counter += 1

        return Variable(base_menu.split(' = ')[0], base_menu)
def generate_menu ( self ) : base_menu = ExistingCode . SUB_MENU . value base_menu = base_menu . format ( self . counter ) self . counter += 1 return Variable ( base_menu . split ( ' = ' ) [ 0 ] , base_menu )