[Zope-Checkins] CVS: Zope/lib/python/AccessControl - Owned.py:1.18.4.1 PermissionRole.py:1.16.4.1 User.py:1.170.4.2 ZopeSecurityPolicy.py:1.20.2.1
Chris McDonough
chrism@zope.com
Tue, 8 Oct 2002 14:41:35 -0400
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv20268/lib/python/AccessControl
Modified Files:
Tag: chrism-install-branch
Owned.py PermissionRole.py User.py ZopeSecurityPolicy.py
Log Message:
Merging HEAD into chrism-install-branch.
=== Zope/lib/python/AccessControl/Owned.py 1.18 => 1.18.4.1 ===
--- Zope/lib/python/AccessControl/Owned.py:1.18 Wed Aug 14 17:29:07 2002
+++ Zope/lib/python/AccessControl/Owned.py Tue Oct 8 14:41:05 2002
@@ -63,7 +63,7 @@
getOwner__roles__=()
def getOwner(self, info=0,
- aq_get=aq_get, None=None,
+ aq_get=aq_get,
UnownableOwner=UnownableOwner,
getSecurityManager=getSecurityManager,
):
@@ -90,7 +90,7 @@
changeOwnership__roles__=()
def changeOwnership(self, user, recursive=0,
- aq_get=aq_get, None=None,
+ aq_get=aq_get,
):
"""Change the ownership to the given user. If 'recursive' is
true then also take ownership of all sub-objects, otherwise
@@ -231,7 +231,7 @@
return attr
def ownerInfo(user,
- getattr=getattr, type=type, st=type(''), None=None):
+ getattr=getattr, type=type, st=type('')):
if user is None:
return None
uid=user.getId()
=== Zope/lib/python/AccessControl/PermissionRole.py 1.16 => 1.16.4.1 ===
--- Zope/lib/python/AccessControl/PermissionRole.py:1.16 Wed Aug 14 17:29:07 2002
+++ Zope/lib/python/AccessControl/PermissionRole.py Tue Oct 8 14:41:05 2002
@@ -66,7 +66,7 @@
self._p='_'+string.translate(name,name_trans)+"_Permission"
self._d=default
- def __of__(self, parent, None=None, getattr=getattr):
+ def __of__(self, parent, getattr=getattr):
r=imPermissionRole()
r._p=self._p
r._pa=parent
@@ -85,7 +85,7 @@
"""Implement permission-based roles
"""
- def __of__(self, parent,tt=type(()),st=type(''),getattr=getattr,None=None):
+ def __of__(self, parent,tt=type(()),st=type(''),getattr=getattr):
obj=parent
n=self._p
r=None
=== Zope/lib/python/AccessControl/User.py 1.170.4.1 => 1.170.4.2 ===
=== Zope/lib/python/AccessControl/ZopeSecurityPolicy.py 1.20 => 1.20.2.1 ===
--- Zope/lib/python/AccessControl/ZopeSecurityPolicy.py:1.20 Wed Aug 21 15:31:59 2002
+++ Zope/lib/python/AccessControl/ZopeSecurityPolicy.py Tue Oct 8 14:41:05 2002
@@ -75,7 +75,7 @@
self._authenticated=authenticated
def validate(self, accessed, container, name, value, context,
- roles=_noroles, None=None, type=type, IntType=type(0),
+ roles=_noroles, type=type, IntType=type(0),
DictType=type({}), getattr=getattr, _noroles=_noroles,
StringType=type(''),
Containers=SimpleObjectPolicies.Containers,