[Zope3-checkins] SVN: Zope3/trunk/src/zope/ Remove trailing
whitespace.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Oct 29 04:01:18 EDT 2005
Log message for revision 39711:
Remove trailing whitespace.
Changed:
U Zope3/trunk/src/zope/app/i18n/configure.zcml
U Zope3/trunk/src/zope/configuration/docutils.py
-=-
Modified: Zope3/trunk/src/zope/app/i18n/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/i18n/configure.zcml 2005-10-29 06:58:13 UTC (rev 39710)
+++ Zope3/trunk/src/zope/app/i18n/configure.zcml 2005-10-29 08:01:18 UTC (rev 39711)
@@ -24,7 +24,7 @@
<!-- Register the Translation Domain as a content object -->
<localUtility class=".translationdomain.TranslationDomain">
- <factory
+ <factory
id="zope.app.i18n.TranslationDomain"
/>
<allow interface="zope.i18n.interfaces.ITranslationDomain"
@@ -55,10 +55,10 @@
<!-- Setup Message Catalogs -->
<content class=".messagecatalog.MessageCatalog">
<factory id="zope.app.MessageCatalog" />
- <implements
+ <implements
interface="zope.app.annotation.interfaces.IAttributeAnnotatable" />
- <require permission="zope.View"
+ <require permission="zope.View"
interface="zope.i18n.interfaces.IMessageCatalog" />
<require permission="zope.ManageSite"
attributes="setMessage getMessageIds" />
@@ -66,13 +66,13 @@
<!-- Setup Export and Import Filters -->
- <adapter
+ <adapter
factory=".filters.GettextExportFilter"
for=".interfaces.ILocalTranslationDomain"
provides="zope.i18n.interfaces.IMessageExportFilter"
/>
- <adapter
+ <adapter
factory=".filters.GettextImportFilter"
for=".interfaces.ILocalTranslationDomain"
provides="zope.i18n.interfaces.IMessageImportFilter"
Modified: Zope3/trunk/src/zope/configuration/docutils.py
===================================================================
--- Zope3/trunk/src/zope/configuration/docutils.py 2005-10-29 06:58:13 UTC (rev 39710)
+++ Zope3/trunk/src/zope/configuration/docutils.py 2005-10-29 08:01:18 UTC (rev 39711)
@@ -43,7 +43,7 @@
new_paras = []
for par in paras:
words= filter(None, whitespace.split(par))
-
+
lines = []
line = []
length = indent
@@ -57,7 +57,7 @@
length = len(word) + 1 + indent
lines.append(' '*indent + ' '.join(line))
-
+
new_paras.append('\n'.join(lines))
return '\n\n'.join(new_paras) + '\n\n'
@@ -84,4 +84,4 @@
else:
sd_entry = subdirs.setdefault((parent.namespace, parent.name), [])
sd_entry.append((namespace, name, schema, handler, info))
- return namespaces, subdirs
+ return namespaces, subdirs
More information about the Zope3-Checkins
mailing list