# $Id: IUserFolder.py 30098 2006-09-08 12:35:01Z encolpe $
__docformat__ = 'restructuredtext'
-from Interface import Attribute
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
-
+from zope.interface import Interface, Attribute
class IUserFolder(Interface):
# $Id: portal_groupdata.py 30098 2006-09-08 12:35:01Z encolpe $
__docformat__ = 'restructuredtext'
-from Interface import Attribute
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
+from zope.interface import Interface, Attribute
class portal_groupdata(Interface):
""" A helper tool for portal_groups that transparently adds
__docformat__ = 'restructuredtext'
-from Interface import Attribute
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
+from zope.interface import Interface, Attribute
class portal_groups(Interface):
"""Defines an interface for working with groups in an abstract manner.