[Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/ajung-zpt-integration/lib/python/Products/ZPT/ZPT.py eeek...Zope 3 ZPTs now work in Zope 2 :-)

Sidnei da Silva sidnei at enfoldsystems.com
Fri Dec 9 10:33:20 EST 2005


On Fri, Dec 09, 2005 at 09:25:51AM -0500, Andreas Jung wrote:
| +try:
| +    from webdav.Lockable import ResourceLockedError
| +    from webdav.WriteLockInterface import WriteLockInterface
| +    SUPPORTS_WEBDAV_LOCKS = 1
| +except ImportError:
| +    SUPPORTS_WEBDAV_LOCKS = 0


Never understood this. The interface has been there since when? Zope
2.6? Why is it in a try: except in new code?

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


More information about the Zope-Dev mailing list