Request to correkt documentationstring

"Massa, Harald" <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
within altdemo.py there is written:

class DemoSession(Session):
    def __init__(self, id):
        Session.__init__(self, id)
        self.num_requests = 0

    def start_request(self):
        """
        This is called from the main object publishing loop whenever
        we start processing a new request.  Obviously, this is a good
        place to track the number of requests made.  (If we were
        interested in the number of *successful* requests made, then
        we could override finish_request(), which is called by
        the publisher at the end of each successful request.)
        """
 
 
especially the part: "then we could override finish_request()" ----
 
which is of no use, to my tests. We would hav to overrite 

        def finish_successful_request(self):
            """das passiert am Ende des Requests"""
            print "request swedish"

within die SessionManager, not within the session.
 
 
Am I wrong or is the documentation wrong?
 
Harald

_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.