def edit(self, area, room=None):
        """Initialize the player's edit_area (and possible edit_object.). This
        is super hackish, as I'm reproducing code from the BuildCommand Edit.
        I just didn't want to create an import cycle for the sake of accessing
        one command and was too lazy to change things around to work better.
        Should probably clean this up in the future.
        """
        if self.pc.get_mode() != 'BuildMode':
            self.enter_build_mode()
        if (self.pc.name in area.builders) or (self.pc.permissions & GOD):
            self.pc.mode.edit_area = area
            self.pc.mode.edit_object = None
            if room:
                self.pc.mode.edit_object = room
                self.pc.update_output('Now editing room %s in area "%s".' %
                                        (room.id, area.name))
            else:
                self.pc.update_output(area.name % 'Now editing area "%s".')
        else:
            self.pc.update_output('You can\'t edit someone else\'s area.')
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/commands/commands.py/Build.edit/swapped operands of `%`