diff roundup/cgi_client.py @ 745:087edbd12016

Nothing like a live demo to show up the bugs ;)
author Richard Jones <richard@users.sourceforge.net>
date Fri, 24 May 2002 02:09:24 +0000
parents 3a653d485bbc
children 51c425129b35
line wrap: on
line diff
--- a/roundup/cgi_client.py	Thu May 23 04:36:28 2002 +0000
+++ b/roundup/cgi_client.py	Fri May 24 02:09:24 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: cgi_client.py,v 1.123 2002-05-22 05:04:13 richard Exp $
+# $Id: cgi_client.py,v 1.124 2002-05-24 02:09:24 richard Exp $
 
 __doc__ = """
 WWW request handler (also used in the stand-alone server).
@@ -128,6 +128,8 @@
             # fix up the CURRENT USER if needed (handle None too since that's
             # the old flag value)
             if l in (None, 'CURRENT USER'):
+                if not self.user:
+                    continue
                 l = [self.db.user.lookup(self.user)]
 
             # add
@@ -1397,6 +1399,9 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.123  2002/05/22 05:04:13  richard
+# Oops
+#
 # Revision 1.122  2002/05/22 04:12:05  richard
 #  . applied patch #558876 ] cgi client customization
 #    ... with significant additions and modifications ;)

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