[Checkins] SVN: Products.CMFCore/trunk/Products/CMFCore/ - indentation cleanup
Yvo Schubbe
y.2011 at wcm-solutions.de
Mon Feb 14 05:05:30 EST 2011
Log message for revision 120316:
- indentation cleanup
Changed:
U Products.CMFCore/trunk/Products/CMFCore/exportimport/tests/test_mailhost.py
UU Products.CMFCore/trunk/Products/CMFCore/interfaces/_cookieCrumbler.py
UU Products.CMFCore/trunk/Products/CMFCore/zcml.py
-=-
Modified: Products.CMFCore/trunk/Products/CMFCore/exportimport/tests/test_mailhost.py
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/exportimport/tests/test_mailhost.py 2011-02-14 10:04:48 UTC (rev 120315)
+++ Products.CMFCore/trunk/Products/CMFCore/exportimport/tests/test_mailhost.py 2011-02-14 10:05:29 UTC (rev 120316)
@@ -52,10 +52,10 @@
sm.registerUtility(site.MailHost, IMailHost)
if use_changed:
- mh.smtp_port='1'
- mh.smtp_pwd="value1"
- mh.smtp_host="value2"
- mh.smtp_uid="value3"
+ mh.smtp_port='1'
+ mh.smtp_pwd="value1"
+ mh.smtp_host="value2"
+ mh.smtp_uid="value3"
return site
Modified: Products.CMFCore/trunk/Products/CMFCore/interfaces/_cookieCrumbler.py
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/interfaces/_cookieCrumbler.py 2011-02-14 10:04:48 UTC (rev 120315)
+++ Products.CMFCore/trunk/Products/CMFCore/interfaces/_cookieCrumbler.py 2011-02-14 10:05:29 UTC (rev 120316)
@@ -1,16 +1,14 @@
"""CookieCrumbler provides cookie based authenticaion
-
-$Id$
-
"""
from zope.interface import Interface, Attribute
+
class ICookieCrumbler(Interface):
"""Reads cookies during traversal and simulates the HTTP auth headers.
"""
-
+
auth_cookie = Attribute("""The key of the authorisation cookie""")
name_cookie = Attribute("""They key of the authorised user cookie""")
pw_cookie = Attribute("""The key of the password cookie""")
@@ -18,10 +16,10 @@
local_cookie_path = Attribute("""If True, the cookie tied to the local path?""")
cache_header_value = Attribute("""If present, the login page will not be cached""")
log_username = Attribute("""If True, the username will in appear in Zope's log""")
-
+
def delRequestVar(req, name):
- """No errors of any sort may propagate, and we don't care *what*
- they are, even to log them."""
+ """No errors of any sort may propagate, and we don't care *what*
+ they are, even to log them."""
def getCookiePath():
"""Get the path for the cookie
@@ -63,7 +61,7 @@
def propertyLabel(id):
"""Return a label for the given property id
"""
-
+
def logout(response):
"""
Deprecated
Property changes on: Products.CMFCore/trunk/Products/CMFCore/interfaces/_cookieCrumbler.py
___________________________________________________________________
Deleted: svn:keywords
- Id
Modified: Products.CMFCore/trunk/Products/CMFCore/zcml.py
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/zcml.py 2011-02-14 10:04:48 UTC (rev 120315)
+++ Products.CMFCore/trunk/Products/CMFCore/zcml.py 2011-02-14 10:05:29 UTC (rev 120316)
@@ -11,8 +11,6 @@
#
##############################################################################
"""CMFCore ZCML directives.
-
-$Id$
"""
from os import path
@@ -68,16 +66,16 @@
subdir = 'skins/%s' % str(name)
filepath = path.join(_context.package.__path__[0], 'skins', str(name))
else:
- subdir = str(directory[len(_context.package.__path__[0])+1:])
+ subdir = str(directory[len(_context.package.__path__[0]) + 1:])
filepath = str(directory)
reg_key = _generateKey(_context.package.__name__, subdir)
_directory_regs.append(reg_key)
_context.action(
- discriminator = ('registerDirectory', reg_key),
- callable = _dirreg.registerDirectoryByKey,
- args = (filepath, reg_key, int(recursive), ignore)
+ discriminator=('registerDirectory', reg_key),
+ callable=_dirreg.registerDirectoryByKey,
+ args=(filepath, reg_key, int(recursive), ignore)
)
@@ -86,7 +84,7 @@
for reg_key in _directory_regs:
for key in _dirreg._directories.keys():
if key.startswith(reg_key):
- del _dirreg._directories[key]
+ del _dirreg._directories[key]
_directory_regs = []
from zope.testing.cleanup import addCleanUp
Property changes on: Products.CMFCore/trunk/Products/CMFCore/zcml.py
___________________________________________________________________
Deleted: svn:keywords
- Id
More information about the checkins
mailing list