[Zope-CVS] SVN: PluggableAuthService/trunk/utils.py Make Interface available from Z3, if possible.

Tres Seaver tseaver at palladion.com
Wed Nov 16 15:11:36 EST 2005


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):



More information about the Zope-CVS mailing list