Mark Sapiro wrote:
>
>This script
>
>-----------------------------------------------------------------------
[...]
>            try:
>                ptime = time.strptime(mo.group(1),
>                                      '%a %b %d %H:%M:%S %Z %Y')
>            except ValueError:
>                next
[...]


Ooops. That should be

            except ValueError:
                continue

Also, a somewhat improved version can be found at
<http://www.msapiro.net/scripts/update_archive_mtime> (mirrored at
<http://fog.ccsf.cc.ca.us/~msapiro/scripts/update_archive_mtime>).

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to