[Checkins] SVN: z3ext.ownership/trunk/src/z3ext/ownership/localroles.py handle None owner
Nikolay Kim
fafhrd at datacom.kz
Thu Feb 19 17:14:05 EST 2009
Log message for revision 96802:
handle None owner
Changed:
U z3ext.ownership/trunk/src/z3ext/ownership/localroles.py
-=-
Modified: z3ext.ownership/trunk/src/z3ext/ownership/localroles.py
===================================================================
--- z3ext.ownership/trunk/src/z3ext/ownership/localroles.py 2009-02-19 20:51:04 UTC (rev 96801)
+++ z3ext.ownership/trunk/src/z3ext/ownership/localroles.py 2009-02-19 22:14:05 UTC (rev 96802)
@@ -40,7 +40,7 @@
def __init__(self, context, owner):
self.owner = owner
- self.ownerId = owner.ownerId
+ self.ownerId = owner.ownerId or u''
def getPrincipalsForRole(self, role_id):
if (role_id == 'content.Owner'):
More information about the Checkins
mailing list