'Revert all challenges.'

def cleanup(self, achalls):

    self._chall_out.difference_update(achalls)
    if (not self._chall_out):
        self.revert_challenge_config()
        self.restart()
        self.parser.init_modules()
