[CMF-checkins] SVN: CMF/trunk/CMFSetup/ - Better naming for the
cookie crumbler import/export XML element
Jens Vagelpohl
jens at dataflake.org
Fri Sep 23 04:50:08 EDT 2005
Log message for revision 38566:
- Better naming for the cookie crumbler import/export XML element
Changed:
U CMF/trunk/CMFSetup/cookieauth.py
U CMF/trunk/CMFSetup/tests/test_cookiecrumbler.py
U CMF/trunk/CMFSetup/xml/ccExport.xml
-=-
Modified: CMF/trunk/CMFSetup/cookieauth.py
===================================================================
--- CMF/trunk/CMFSetup/cookieauth.py 2005-09-22 14:05:35 UTC (rev 38565)
+++ CMF/trunk/CMFSetup/cookieauth.py 2005-09-23 08:50:08 UTC (rev 38566)
@@ -116,7 +116,7 @@
def _getImportMapping(self):
- return {'cc':
+ return {'cookiecrumbler':
{ 'auth_cookie': {},
'name_cookie': {},
'pw_cookie': {},
Modified: CMF/trunk/CMFSetup/tests/test_cookiecrumbler.py
===================================================================
--- CMF/trunk/CMFSetup/tests/test_cookiecrumbler.py 2005-09-22 14:05:35 UTC (rev 38565)
+++ CMF/trunk/CMFSetup/tests/test_cookiecrumbler.py 2005-09-23 08:50:08 UTC (rev 38566)
@@ -28,7 +28,7 @@
_DEFAULT_EXPORT = """\
<?xml version="1.0"?>
-<cc auth_cookie="__ac" cache_header_value="private"
+<cookiecrumbler auth_cookie="__ac" cache_header_value="private"
name_cookie="__ac_name" log_username="1"
persist_cookie="__ac_persistent"
pw_cookie="__ac_password" local_cookie_path="0"
@@ -38,7 +38,7 @@
_CHANGED_EXPORT = """\
<?xml version="1.0"?>
-<cc auth_cookie="value1" cache_header_value="value2"
+<cookiecrumbler auth_cookie="value1" cache_header_value="value2"
name_cookie="value3" log_username="0"
persist_cookie="value4"
pw_cookie="value5" local_cookie_path="1"
Modified: CMF/trunk/CMFSetup/xml/ccExport.xml
===================================================================
--- CMF/trunk/CMFSetup/xml/ccExport.xml 2005-09-22 14:05:35 UTC (rev 38565)
+++ CMF/trunk/CMFSetup/xml/ccExport.xml 2005-09-23 08:50:08 UTC (rev 38566)
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<cc xmlns:tal="http://xml.zope.org/namespaces/tal"
+<cookiecrumbler xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:define="cc_info context/getCookieCrumblerInfo"
tal:attributes="auth_cookie cc_info/auth_cookie;
name_cookie cc_info/name_cookie;
More information about the CMF-checkins
mailing list