[Tutor] exception question [submitting a bug fix to SF]

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Fri Apr 30 01:28:38 EDT 2004



On Wed, 28 Apr 2004, Reggie Dugard wrote:

> On Wed, 2004-04-28 at 06:38, Danny Yoo wrote:
> > [Completely off tangent: by the way, near the bottom of the 'cgitb' code,
> > something looks really weird:
> >
> >        if self.logdir is not None:
> >             import os, tempfile
> >             suffix = ['.html', '.txt'][self.format=="html"]
> >
> > Is the condition for 'suffix' backwards, or am I reading this wrong?]
>
> >From this fragment, it looks backwards to me as well (the list should be
> ['.txt', '.html'])


Hi Reggie,

Ok, thanks.  I've sent a bug report to Sourceforge:

https://sourceforge.net/tracker/index.php?func=detail&aid=945063&group_id=5470&atid=105470

So not only did Dave's question get answered, but we also did some work to
squash a 'cgitb' bug.  Not bad at all.  *grin*


Talk to you later!




More information about the Tutor mailing list