[Checkins] SVN: z3c.jbot/trunk/ Fixed issue with ``five.pt``. We need to clear this volatile attribute.
Malthe Borch
mborch at gmail.com
Thu Sep 9 03:44:42 EDT 2010
Log message for revision 116243:
Fixed issue with ``five.pt``. We need to clear this volatile attribute.
Changed:
U z3c.jbot/trunk/CHANGES.txt
U z3c.jbot/trunk/z3c/jbot/patches.py
-=-
Modified: z3c.jbot/trunk/CHANGES.txt
===================================================================
--- z3c.jbot/trunk/CHANGES.txt 2010-09-09 07:43:25 UTC (rev 116242)
+++ z3c.jbot/trunk/CHANGES.txt 2010-09-09 07:44:42 UTC (rev 116243)
@@ -1,6 +1,9 @@
Changes
=======
+- Fixed issue where templates being patched by ``five.pt`` would not
+ get properly jbotted.
+
- Use ``five.pt`` if available. [malthe]
- Fixed an issue where tests would fail on Zope 2.10. [malthe]
Modified: z3c.jbot/trunk/z3c/jbot/patches.py
===================================================================
--- z3c.jbot/trunk/z3c/jbot/patches.py 2010-09-09 07:43:25 UTC (rev 116242)
+++ z3c.jbot/trunk/z3c/jbot/patches.py 2010-09-09 07:44:42 UTC (rev 116243)
@@ -36,6 +36,7 @@
# template was invalidated (changed filename)
if manager.registerTemplate(inst, template):
inst._v_last_read = False
+ inst.__dict__.pop('_v_template', None)
break
if view is not None and IAcquirer is not None:
More information about the checkins
mailing list