That looks like something I would have done to reduce the refcount of the servlet in case of circular references. Should be safe to remove now that we can rely on garbage collection, as long as the transaction and servlet cleanup still processes normally in case of an exception.
Jay > -----Original Message----- > From: Chuck Esterbrook [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 05, 2002 6:24 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [Webware-devel] Change > > > Transaction has the following method: > > def setErrorOccurred(self, flag): > ''' Invoked by the application if an exception > is raised to the > application level. ''' > self._errorOccurred = flag > self._servlet = None > > > I'm made a subtle change which is to remove the: > self._servlet = None > > Which was added by Jay way back when under the cvs log msg "general > cleanup". > > I need the transaction to know it's servlet, because in my current > application, I am implementing a custom exception handler to do some > additional application specific logging and the information > comes from > the servlet. > > An FYI in case this causes weirdness for anyone. But as far > as I know, > it works fine. > > -Chuck > > _______________________________________________ > Webware-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-devel > ---------------------------------------------------------------------------- This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail. Thank you for your cooperation. ---------------------------------------------------------------------------- _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel
