[Checkins] [zopefoundation/Zope] 12042f: Fix DTML bindings to work with 'zope.publisher' 4....

GitHub noreply at github.com
Wed Oct 29 22:32:59 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: 12042f18b6d59ded2ae0ce2e2bac7a7c009acd2e
      https://github.com/zopefoundation/Zope/commit/12042f18b6d59ded2ae0ce2e2bac7a7c009acd2e
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2014-10-29 (Wed, 29 Oct 2014)

  Changed paths:
    M src/OFS/DTMLMethod.py
    M src/Testing/ZopeTestCase/testFunctional.py
    M src/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
    M src/Testing/ZopeTestCase/zopedoctest/testFunctionalDocTest.py

  Log Message:
  -----------
  Fix DTML bindings to work with 'zope.publisher' 4.x.

'zope.publisher.publish.unwrapMethod' was not recognizing the faux-callable
nature of DTMLMethod.  Add a '__code__' attr to help it find us.

Neaten / normalize functest scaffolding.




More information about the checkins mailing list