Re: pyarchive.py breaks on Python 2.1
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Just for archival purposes, I took this conversation offline and Wilhelm
and I fixed the issue(s) in pyarchives so it works with Python 2.1 now.
The fixed pyarchives will be in 0.9.2 or 1.0--whichever version comes
first.
/will
On Tue, 20 Apr 2004, Wilhelm Fitzpatrick wrote:
>
> 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