Mercurial > hg > rlgallery-misc
diff web/archive.cgi @ 3:a943cfdfbad9
Remove obsolete code.
Remove some unnecessary module imports and code that worked with UNIX
timestamps.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Thu, 26 Jul 2012 09:35:07 -0700 |
parents | 8f49df4074d7 |
children | f5a37cc7f41f |
line wrap: on
line diff
--- a/web/archive.cgi Thu Jul 26 08:07:00 2012 -0700 +++ b/web/archive.cgi Thu Jul 26 09:35:07 2012 -0700 @@ -3,7 +3,6 @@ import cgi import os import sys -import re import time import calendar from datetime import datetime @@ -17,8 +16,6 @@ """ ttyrecbase = "/var/dgl/dgldir/ttyrec/" -recre = r"(\d{4,4})-(\d{2,2})-(\d{2,2})\.(\d{2,2}):(\d{2,2}):(\d{2,2})\.ttyrec" -recrec = re.compile(recre) def input_game(outf, selected=None): "Prints the form components for selecting a game."