[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/genshi.py Restore a bug fixed earlier by ChrisM

Wichert Akkerman wichert at wiggy.net
Sat Aug 16 04:58:40 EDT 2008


Log message for revision 89911:
  Restore a bug fixed earlier by ChrisM

Changed:
  U   z3c.pt/trunk/src/z3c/pt/genshi.py

-=-
Modified: z3c.pt/trunk/src/z3c/pt/genshi.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/genshi.py	2008-08-16 08:55:19 UTC (rev 89910)
+++ z3c.pt/trunk/src/z3c/pt/genshi.py	2008-08-16 08:58:39 UTC (rev 89911)
@@ -127,7 +127,7 @@
 
         # Step 2: Process "py:match" macros
         for element in self:
-            if element.py_match is None:
+            if getattr(element, 'py_match', None) is None:
                 continue
             
             nsmap = element.nsmap.copy()



More information about the Checkins mailing list