def as_ul(self):
        if not self: return u''
        return u'<ul class="errorlist">%s</ul>' % ''.join([u'<li>%s</li>' % e for e in self])
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/newforms/util.py/ErrorList.as_ul/original