def execute(self):
        persons = [per for per in self.world.player_list.values() if isinstance(per.name, basestring)]
        message = 'Currently Online'.center(50, '-') + '\n'
        for per in persons:
            if per.permissions > PLAYER:
                # We want to list the permissions of the people who have perms
                # higher than player so other players know where they can go
                # for help
                perm_list = get_permission_names(per.permissions)
                # Everyone's a player -- don't bother listing that one
                if 'Player' in perm_list:
                    perm_list.remove('Player')
                # God trumps everything else...
                if 'God' in perm_list:
                    perms = 'God'
                else:
                    perms = ', '.join(perm_list)
                message += (per.fancy_name(), perms, per.title) % '%s (%s) - %s\n'
            else:
                message += '%s - %s\n' % (per.fancy_name(), per.title)
        message += '-'.center(50, '-')
        self.pc.update_output(message)
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/commands/commands.py/Who.execute/swapped operands of `%`