Mailing List Archive

SVN: PluggableAuthService/trunk/utils.py Make Interface available from Z3, if possible.
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 - Zope-CVS@zope.org
http://mail.zope.org/mailman/listinfo/zope-cvs

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