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
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to