[CMF-checkins] SVN: CMF/branches/1.5/CMFSetup/ - Better naming for
cookie crumbler import/export XML element
Jens Vagelpohl
jens at dataflake.org
Fri Sep 23 04:55:10 EDT 2005
Log message for revision 38567:
- Better naming for cookie crumbler import/export XML element
Changed:
U CMF/branches/1.5/CMFSetup/cookieauth.py
U CMF/branches/1.5/CMFSetup/tests/test_cookiecrumbler.py
U CMF/branches/1.5/CMFSetup/xml/ccExport.xml
-=-
Modified: CMF/branches/1.5/CMFSetup/cookieauth.py
===================================================================
--- CMF/branches/1.5/CMFSetup/cookieauth.py 2005-09-23 08:50:08 UTC (rev 38566)
+++ CMF/branches/1.5/CMFSetup/cookieauth.py 2005-09-23 08:55:09 UTC (rev 38567)
@@ -116,7 +116,7 @@
def _getImportMapping(self):
- return {'cc':
+ return {'cookiecrumbler':
{ 'auth_cookie': {},
'name_cookie': {},
'pw_cookie': {},
Modified: CMF/branches/1.5/CMFSetup/tests/test_cookiecrumbler.py
===================================================================
--- CMF/branches/1.5/CMFSetup/tests/test_cookiecrumbler.py 2005-09-23 08:50:08 UTC (rev 38566)
+++ CMF/branches/1.5/CMFSetup/tests/test_cookiecrumbler.py 2005-09-23 08:55:09 UTC (rev 38567)
@@ -31,7 +31,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"
@@ -41,7 +41,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/branches/1.5/CMFSetup/xml/ccExport.xml
===================================================================
--- CMF/branches/1.5/CMFSetup/xml/ccExport.xml 2005-09-23 08:50:08 UTC (rev 38566)
+++ CMF/branches/1.5/CMFSetup/xml/ccExport.xml 2005-09-23 08:55:09 UTC (rev 38567)
@@ -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