# HG changeset patch # User paulb # Date 1115406479 0 # Node ID 5ac6333ec2a3191329dc7aff4bbfcf1aee8e4b8e # Parent 0a1bac60dc72efa8eb2f9d80a60b33113e47218a [project @ 2005-05-06 19:07:59 by paulb] Changed the test against the supplied document using object identity rather than equality. diff -r 0a1bac60dc72 -r 5ac6333ec2a3 XSLOutput.py --- a/XSLOutput.py Tue May 03 18:17:55 2005 +0000 +++ b/XSLOutput.py Fri May 06 19:07:59 2005 +0000 @@ -95,7 +95,7 @@ for stylesheet in self.stylesheets: result = stylesheet.applyStylesheet(last_result, parameters) if last_result is not None: - if last_result != document: + if last_result is not document: last_result.freeDoc() last_result = result else: