SVN: PluggableAuthService/trunk/utils.py Make Interface available from Z3, if possible.

Tres Seaver <[email protected]> Wed, 16 Nov 2005 15:11:36 -0500 (EST)
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
Log message for revision 40172:
  Make Interface available from Z3, if possible.

Changed:
  U   PluggableAuthService/trunk/utils.py

-=-
Modified: PluggableAuthService/trunk/utils.py
===================================================================
--- PluggableAuthService/trunk/utils.py	2005-11-16 20:10:44 UTC (rev 40171)
+++ PluggableAuthService/trunk/utils.py	2005-11-16 20:11:35 UTC (rev 40172)
@@ -26,6 +26,11 @@
     return (value,)
 
 try:
+    from zope.interface import Interface
+except ImportError:
+    from Interface import Interface
+
+try:
     from zope.interface import providedBy
 except ImportError:
     def providedBy(obj):

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS