@tornado.gen.coroutine
    def prepare(self):
        yield self.find_current_session()
        if self.tw_load_portlink:
            portid = self.get_cookie('tworld_portlink', None)
            if portid:
                # Load up the portlink data, if possible. (If it's not 
                # possible, don't worry too much.)
                try:
                    portid = ObjectId(portid)
                    self.twportlink = yield self.external_portal_description(portid)
                except Exception as ex:
                    self.application.twlog.info('Unable to load portlink info for template: %s', ex)
Assert that the class name of a L{mail.mail.DomainWithDefaultDict}
dataset/ETHPy150Open erkyrath/tworld/lib/tweblib/handlers.py/MyHandlerMixin.prepare--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/mail/test/test_mail.py/DomainWithDefaultsTestCase._stringificationTest