[Zope] Calendar tag 0.9.5 buglet

Dr. Ross Lazarus rossl@med.usyd.edu.au
Tue, 25 Jan 2000 11:26:13 +1100


A very minor misfeature to fix for the next release.

line 246 of CalendarTag.py has 

                s = s + '<font color="%(leftfgcolor)s">'

which renders literally since leftfgcolor is not in the namespace. It
makes all the month names in the year view a ghastly green on my
machine. 

Change it to
                s = s + '<font color="%s">' % v['leftfgcolor']
and it works better.

Interesting that the %(foo)s syntax can hide bugs this way....??