text = """From: the bugman <y...@example.com>
To: the bugfixer <y...@example.com>
Subject: bug: %s: %s (%s)
Content-Type: multipart/mixed; boundary="----here----"
------here----
Content-Type: text/plain
Content-Disposition: inline
%s
%s
------here----
Content-Type: text/html; name="bug.html"
Content-Disposition: attachment; filename="bug.html"
""" % (tb[0], tb[1], web.ctx.path, web.ctx.method+' '+web.ctx.home+web.ctx.f
ullpath,
     ''.join(traceback.format_exception(*tb)),
    text += str(web.djangoerror())


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to