quixote publish.py,1.137,1.138
Greg Ward <gward-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]>
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/cvs/quixote
In directory hewson:/tmp/cvs-serv16364
Modified Files:
publish.py
Log Message:
Document the _request attribute, and set it in __init__().
Index: publish.py
===================================================================
RCS file: /home/cvs/quixote/publish.py,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- publish.py 16 Oct 2002 18:44:37 -0000 1.137
+++ publish.py 16 Oct 2002 19:19:17 -0000 1.138
@@ -86,6 +86,8 @@
holds all configuration info for this application. If the
application doesn't have a config file, uses the default values
from the quixote.config module.
+ _request : HTTPRequest
+ the HTTP request currently being processed.
"""
def __init__ (self, root_namespace, config=None):
@@ -126,6 +128,8 @@
self.config = Config()
else:
self.set_config(config)
+
+ self._request = None
def configure (self, **kwargs):
self.config.set_from_dict(kwargs)