[Mailman-Users] bin/arch : ctime

Mark Sapiro mark at msapiro.net
Fri Oct 9 01:11:02 CEST 2009


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 <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list