Mercurial > p > roundup > code
diff roundup/cgi_client.py @ 819:f9398b74e94c
ehem
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 08 Jul 2002 07:26:14 +0000 |
| parents | fd56b481797d |
| children | fda182844206 |
line wrap: on
line diff
--- a/roundup/cgi_client.py Mon Jul 08 06:58:15 2002 +0000 +++ b/roundup/cgi_client.py Mon Jul 08 07:26:14 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.131 2002-07-08 06:53:57 richard Exp $ +# $Id: cgi_client.py,v 1.132 2002-07-08 07:26:14 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -26,6 +26,7 @@ import roundupdb, htmltemplate, date, hyperdb, password from roundup.i18n import _ +from roundup.indexer import Indexer class Unauthorised(ValueError): pass @@ -72,6 +73,10 @@ # someone gave us a non-int debug level, turn it off self.debug = 0 + # used for searching the indexes + self.indexer = Indexer('%s/db'%instance.INSTANCE_HOME) + + def getuid(self): try: return self.db.user.lookup(self.user) @@ -1390,6 +1395,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.131 2002/07/08 06:53:57 richard +# Not sure why the cgi_client had an indexer argument. +# # Revision 1.130 2002/06/27 12:01:53 gmcm # If the form has a :multilink, put a back href in the pageheader (back to the linked-to node). # Some minor optimizations (only compile regexes once).
