changeset 680:581abd96c9e4 experimental-optimizer

Fixed #178.
author athomas
date Thu, 24 Jan 2008 00:42:04 +0000
parents 1efe990d675e
children dfe942b94c2f
files genshi/output.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/genshi/output.py
+++ b/genshi/output.py
@@ -490,7 +490,7 @@
                     data = data.striptags().stripentities()
                 yield unicode(data)
 
-            elif kind is OPTIMIZER:
+            elif event[0] is OPTIMIZER:
                 yield event
 
 
Copyright (C) 2012-2017 Edgewall Software