<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def uncancel(self):
 """Uncancel an EighthScheduledActivity. This does nothing besides unset the cancelled flag and save the object. """


        if self.cancelled:
            logger.debug("Uncancelling {}".format(self))
            self.cancelled = False
        self.save()
        # NOT USED. Was broken anyway.
        """
        cancelled_room = EighthRoom.objects.get_or_create(name="CANCELLED", capacity=0)[0]
        cancelled_sponsor = EighthSponsor.objects.get_or_create(first_name="", last_name="CANCELLED")[0]
        if cancelled_room in list(self.rooms.all()):
            self.rooms.filter(id=cancelled_room.id).delete()

        if cancelled_sponsor in list(self.sponsors.all()):
            self.sponsors.filter(id=cancelled_sponsor.id).delete()

        self.save()
        """