[Zope-Checkins] CVS: Zope/lib/python/AccessControl - SimpleObjectPolicies.py:1.10.22.1 cAccessControl.c:1.14.18.1
Casey Duncan
casey@zope.com
Wed, 27 Mar 2002 15:52:06 -0500
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv22094/lib/python/AccessControl
Modified Files:
Tag: casey-death_to_index_html-branch
SimpleObjectPolicies.py cAccessControl.c
Log Message:
Updating branch to head for testing
=== Zope/lib/python/AccessControl/SimpleObjectPolicies.py 1.10 => 1.10.22.1 ===
if not (isinstance(allowed, IntType) or isinstance(allowed, DictType)):
raise ValueError, "The 'allowed' argument must be an int or dict."
- ContainerAssertions.update(Type, allowed)
+ ContainerAssertions[Type] = allowed
=== Zope/lib/python/AccessControl/cAccessControl.c 1.14 => 1.14.18.1 ===
PyObject *module;
PyObject *dict;
- char *rev = "$Revision$";
PURE_MIXIN_CLASS(RestrictedDTMLMixin,
"A mix-in for derivatives of DT_String.String "
"that adds Zope security."
@@ -2104,9 +2103,6 @@
Py_InitModule(). */
dict = PyModule_GetDict(module);
-
- PyDict_SetItemString(dict, "__version__",
- PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
PyDict_SetItemString(dict, "_what_not_even_god_should_do",
_what_not_even_god_should_do);