2005-05-06 | paulb | raw files shortlog changelog graph | [project @ 2005-05-06 19:07:59 by paulb] Changed the test against the supplied document using object identity rather than equality. | |
XSLOutput.py (file) |
1.1 --- a/XSLOutput.py Tue May 03 18:17:55 2005 +0000 1.2 +++ b/XSLOutput.py Fri May 06 19:07:59 2005 +0000 1.3 @@ -95,7 +95,7 @@ 1.4 for stylesheet in self.stylesheets: 1.5 result = stylesheet.applyStylesheet(last_result, parameters) 1.6 if last_result is not None: 1.7 - if last_result != document: 1.8 + if last_result is not document: 1.9 last_result.freeDoc() 1.10 last_result = result 1.11 else: