pyarchive.py breaks on Python 2.1

Wilhelm Fitzpatrick <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
pyarchive.py appears to have a dependency on a post Python 2.1 feature:

   File "/home/lagatita/blog/plugins/pyarchives.py", line 59, in 
genLinearArchive
     timedict = dict([(x, time.strftime('%' + x, timetuple))
NameError: global name 'dict' is not defined

Just a FYI...



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.