def render(self, context):
        try:
            output = self.filter_expression.resolve(context)
            output = localize(output)
            output = force_unicode(output)
        except TemplateSyntaxError, e:
            if not hasattr(e, 'source'):
                e.source = self.source
            raise
        except __HOLE__:
            return ''
        if (context.autoescape and not isinstance(output, SafeData)) or isinstance(output, EscapeData):
            return escape(output)
        else:
            return output
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/django/template/debug.py/DebugVariableNode.render