[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/pas/principalplugins.py
Make sure IPrincipal is implemented.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Oct 12 03:51:27 EDT 2004
Log message for revision 27981:
Make sure IPrincipal is implemented.
Changed:
U Zope3/trunk/src/zope/app/pas/principalplugins.py
-=-
Modified: Zope3/trunk/src/zope/app/pas/principalplugins.py
===================================================================
--- Zope3/trunk/src/zope/app/pas/principalplugins.py 2004-10-12 07:49:54 UTC (rev 27980)
+++ Zope3/trunk/src/zope/app/pas/principalplugins.py 2004-10-12 07:51:25 UTC (rev 27981)
@@ -22,6 +22,8 @@
from zope.interface import implements
from zope.app.container.contained import Contained
+from zope.app.security.interfaces import IPrincipal
+
import interfaces
class Principal:
@@ -39,6 +41,9 @@
>>> p.id
'foo'
"""
+ implements(IPrincipal)
+
+ title = description = u''
def __init__(self, id):
self.id = id
More information about the Zope3-Checkins
mailing list