[Checkins] SVN: z3c.authenticator/trunk/src/z3c/authenticator/group.py remove BBB
Adam Groszer
agroszer at gmail.com
Mon Jan 25 10:08:50 EST 2010
Log message for revision 108477:
remove BBB
Changed:
U z3c.authenticator/trunk/src/z3c/authenticator/group.py
-=-
Modified: z3c.authenticator/trunk/src/z3c/authenticator/group.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/group.py 2010-01-25 13:21:23 UTC (rev 108476)
+++ z3c.authenticator/trunk/src/z3c/authenticator/group.py 2010-01-25 15:08:50 UTC (rev 108477)
@@ -22,7 +22,6 @@
import zope.interface
import zope.component
import zope.event
-import zope.deferredimport
from zope.interface import alsoProvides
from zope.security.interfaces import IGroup
@@ -39,12 +38,6 @@
from z3c.authenticator import interfaces
from z3c.authenticator import event
-zope.deferredimport.deprecated(
- "FoundPrincipal has moved to z3c.authenticator.group.FoundGroup",
- FoundPrincipal = 'z3c.authenticator.principal:FoundGroup',
- )
-
-
class Group(persistent.Persistent, contained.Contained):
"""An implementation of IGroup used by the group container."""
@@ -202,7 +195,7 @@
search = search.lower()
for i, (id, groupinfo) in enumerate(self.items()):
if (search in groupinfo.title.lower() or
- (groupinfo.description and
+ (groupinfo.description and
search in groupinfo.description.lower())):
if not ((start is not None and i < start) or
(batch_size is not None and n >= batch_size)):
@@ -270,7 +263,7 @@
@zope.component.adapter(interfaces.IPrincipalCreated)
def setGroupsForPrincipal(event):
"""Set local group information when a principal is created.
-
+
Note: IUnauthenticatedPrincipal does not provide IGroupAwarePrincipal which
is just wrong and makes the conditions a little bit complicated.
"""
More information about the checkins
mailing list