diff roundup/cgi/client.py @ 3796:aef19fff38dd

If-Modified-Since handling was broken Updated documentation for customising hard-coded searches in page.html
author Richard Jones <richard@users.sourceforge.net>
date Thu, 28 Dec 2006 22:08:45 +0000
parents b8f52d030f1a
children 75d3896929bb
line wrap: on
line diff
--- a/roundup/cgi/client.py	Tue Dec 19 03:03:37 2006 +0000
+++ b/roundup/cgi/client.py	Thu Dec 28 22:08:45 2006 +0000
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.229 2006-11-15 06:27:15 a1s Exp $
+# $Id: client.py,v 1.230 2006-12-28 22:08:45 richard Exp $
 
 """WWW request handler (also used in the stand-alone server).
 """
@@ -727,7 +727,7 @@
             ims = self.env['HTTP_IF_MODIFIED_SINCE']
         if ims:
             ims = rfc822.parsedate(ims)[:6]
-            lmtt = time.gmtime(lmt)[:6]
+            lmtt = time.gmtime(ims)[:6]
             if lmtt <= ims:
                 raise NotModified
 

Roundup Issue Tracker: http://roundup-tracker.org/