[Checkins] SVN: z3c.form/trunk/ Nuke trailing white space
Maurits van Rees
m.van.rees at zestsoftware.nl
Tue Jan 3 14:53:55 UTC 2012
Log message for revision 123926:
Nuke trailing white space
Changed:
U z3c.form/trunk/benchmark/benchmark/tests.py
U z3c.form/trunk/src/z3c/form/browser/button_display.pt
U z3c.form/trunk/src/z3c/form/browser/checkbox.zcml
U z3c.form/trunk/src/z3c/form/browser/checkbox_hidden.pt
U z3c.form/trunk/src/z3c/form/browser/checkbox_input.pt
U z3c.form/trunk/src/z3c/form/browser/image_display.pt
U z3c.form/trunk/src/z3c/form/browser/image_input.pt
U z3c.form/trunk/src/z3c/form/browser/object.zcml
U z3c.form/trunk/src/z3c/form/browser/orderedselect.py
U z3c.form/trunk/src/z3c/form/browser/orderedselect_input.pt
U z3c.form/trunk/src/z3c/form/browser/password_input.pt
U z3c.form/trunk/src/z3c/form/browser/select_hidden.pt
U z3c.form/trunk/src/z3c/form/browser/select_input.pt
U z3c.form/trunk/src/z3c/form/browser/submit_display.pt
U z3c.form/trunk/src/z3c/form/browser/submit_input.pt
U z3c.form/trunk/src/z3c/form/browser/tests.py
U z3c.form/trunk/src/z3c/form/interfaces.py
U z3c.form/trunk/src/z3c/form/term.py
U z3c.form/trunk/src/z3c/form/tests/simple_caredit.pt
U z3c.form/trunk/src/z3c/form/tests/simple_display.pt
U z3c.form/trunk/src/z3c/form/tests/simple_edit.pt
U z3c.form/trunk/src/z3c/form/tests/simple_edit_with_providers.pt
U z3c.form/trunk/src/z3c/form/tests/simple_groupedit.pt
U z3c.form/trunk/src/z3c/form/tests/simple_owneredit.pt
U z3c.form/trunk/src/z3c/form/util.py
-=-
Modified: z3c.form/trunk/benchmark/benchmark/tests.py
===================================================================
--- z3c.form/trunk/benchmark/benchmark/tests.py 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/benchmark/benchmark/tests.py 2012-01-03 14:53:55 UTC (rev 123926)
@@ -92,7 +92,7 @@
base = zope.component.globalregistry.base
base.registerUtility(z3c.ptcompat.engine.Program, IPageTemplateEngine,
name=u'', event=False)
-
+
def disableZ3CPT():
"""Disable z3c.pt engine"""
base = zope.component.globalregistry.base
Modified: z3c.form/trunk/src/z3c/form/browser/button_display.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/button_display.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/button_display.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,7 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:omit-tag="">
-<input id="" name="" class="" value="" disabled="disabled" type="button"
+<input id="" name="" class="" value="" disabled="disabled" type="button"
tal:attributes="id view/id;
name view/name;
class view/klass;
Modified: z3c.form/trunk/src/z3c/form/browser/checkbox.zcml
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/checkbox.zcml 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/checkbox.zcml 2012-01-03 14:53:55 UTC (rev 123926)
@@ -41,5 +41,5 @@
layer="z3c.form.interfaces.IFormLayer"
template="checkbox_hidden.pt"
/>
-
+
</configure>
Modified: z3c.form/trunk/src/z3c/form/browser/checkbox_hidden.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/checkbox_hidden.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/checkbox_hidden.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:omit-tag="">
<span class="option"
- tal:repeat="item view/items">
+ tal:repeat="item view/items">
<input id="" name="" value="" class="hidden-widget" title=""
tabindex="" accesskey=""
type="hidden"
@@ -31,6 +31,6 @@
readonly view/readonly;
alt view/alt;
accesskey view/accesskey;
- onselect view/onselect" />
-</span>
+ onselect view/onselect" />
+</span>
</html>
Modified: z3c.form/trunk/src/z3c/form/browser/checkbox_input.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/checkbox_input.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/checkbox_input.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,6 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
- tal:omit-tag="">
+ tal:omit-tag="">
<span class="option"
tal:repeat="item view/items">
<input type="checkbox" id="" name="" class="" alt="" title=""
@@ -35,7 +35,7 @@
onselect view/onselect"
/><input id="" name="" class="" alt="" title="" tabindex=""
disabled="" readonly="" accesskey="" value=""
- type="checkbox"
+ type="checkbox"
tal:condition="not:item/checked"
tal:attributes="id item/id;
name item/name;
Modified: z3c.form/trunk/src/z3c/form/browser/image_display.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/image_display.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/image_display.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,7 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:omit-tag="">
-<input id="" name="" class="" src="" value="" disabled="disabled" type="image"
+<input id="" name="" class="" src="" value="" disabled="disabled" type="image"
tal:attributes="id view/id;
name view/name;
class view/klass;
Modified: z3c.form/trunk/src/z3c/form/browser/image_input.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/image_input.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/image_input.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:omit-tag="">
<input id="" name="" class="" src="" value=""
- accesskey="" type="image"
+ accesskey="" type="image"
tal:attributes="id view/id;
name view/name;
class view/klass;
Modified: z3c.form/trunk/src/z3c/form/browser/object.zcml
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/object.zcml 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/object.zcml 2012-01-03 14:53:55 UTC (rev 123926)
@@ -36,5 +36,5 @@
layer="z3c.form.interfaces.IFormLayer"
template="object_input.pt"
/>
-
+
</configure>
Modified: z3c.form/trunk/src/z3c/form/browser/orderedselect.py
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/orderedselect.py 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/orderedselect.py 2012-01-03 14:53:55 UTC (rev 123926)
@@ -61,13 +61,13 @@
selecteditems = []
notselecteditems = []
for selecteditem in self.selectedItems:
- selecteditems.append(selecteditem['content'])
+ selecteditems.append(selecteditem['content'])
for item in self.items:
if not item['content'] in selecteditems:
notselecteditems.append(item)
return notselecteditems
-
+
@zope.component.adapter(zope.schema.interfaces.ISequence, interfaces.IFormLayer)
@zope.interface.implementer(interfaces.IFieldWidget)
def OrderedSelectFieldWidget(field, request):
Modified: z3c.form/trunk/src/z3c/form/browser/orderedselect_input.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/orderedselect_input.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/orderedselect_input.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -186,7 +186,7 @@
>←</button>
</td>
<td>
- <select id="to" name="to" class="" multiple="" size="5"
+ <select id="to" name="to" class="" multiple="" size="5"
tal:attributes="id string:${view/id}-to;
name string:${view/name}.to;
class view/klass;
Modified: z3c.form/trunk/src/z3c/form/browser/password_input.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/password_input.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/password_input.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,9 +1,9 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
- tal:omit-tag="">
+ tal:omit-tag="">
<input id="" name="" class="" title="" lang="" disabled=""
readonly="" alt="" tabindex="" accesskey="" size="" maxlength=""
- type="password"
+ type="password"
tal:attributes="id view/id;
name view/name;
class view/klass;
Modified: z3c.form/trunk/src/z3c/form/browser/select_hidden.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/select_hidden.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/select_hidden.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,6 +1,6 @@
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
- tal:omit-tag="">
+ tal:omit-tag="">
<tal:block define="id view/id;
name string:${view/name}:list"
repeat="item view/items">
Modified: z3c.form/trunk/src/z3c/form/browser/select_input.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/select_input.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/select_input.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,6 +1,6 @@
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
- tal:omit-tag="">
+ tal:omit-tag="">
<select id="" name="" class="" tabindex="" disabled="" multiple="" size=""
tal:attributes="id view/id;
name string:${view/name}:list;
Modified: z3c.form/trunk/src/z3c/form/browser/submit_display.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/submit_display.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/submit_display.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,7 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:omit-tag="">
-<input id="" name="" class="" value="" disabled="disabled" type="submit"
+<input id="" name="" class="" value="" disabled="disabled" type="submit"
tal:attributes="id view/id;
name view/name;
class view/klass;
Modified: z3c.form/trunk/src/z3c/form/browser/submit_input.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/submit_input.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/submit_input.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:omit-tag="">
<input id="" name="" class="" value=""
- accesskey="" type="submit"
+ accesskey="" type="submit"
tal:attributes="id view/id;
name view/name;
class view/klass;
Modified: z3c.form/trunk/src/z3c/form/browser/tests.py
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/tests.py 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/browser/tests.py 2012-01-03 14:53:55 UTC (rev 123926)
@@ -35,7 +35,7 @@
checker = outputchecker.OutputChecker(doctest)
# This package will setup z3c.pt support for testing by default.
- # The Z3CPT_AVAILABLE option allows to run z3c.form test from a
+ # The Z3CPT_AVAILABLE option allows to run z3c.form test from a
# custom setup which doesn't use z3c.pt. But do we really need this?
# I guess not or is there a reason to support this?
if Z3CPT_AVAILABLE:
Modified: z3c.form/trunk/src/z3c/form/interfaces.py
===================================================================
--- z3c.form/trunk/src/z3c/form/interfaces.py 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/interfaces.py 2012-01-03 14:53:55 UTC (rev 123926)
@@ -47,10 +47,10 @@
It is intended that someone can just use this layer as a base layer when
using this package.
-
+
Since version 2.4.2, this layer doesn't provide IBrowserRequst anymore.
This makes it possible to use the IFormLayer within z3c.jsonrpc without
- to apply the IBrowserRequest into the jsonrpc request.
+ to apply the IBrowserRequest into the jsonrpc request.
"""
Modified: z3c.form/trunk/src/z3c/form/term.py
===================================================================
--- z3c.form/trunk/src/z3c/form/term.py 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/term.py 2012-01-03 14:53:55 UTC (rev 123926)
@@ -101,7 +101,7 @@
class ChoiceTermsVocabulary(Terms):
- """ITerms adapter for zope.schema.IChoice based implementations using
+ """ITerms adapter for zope.schema.IChoice based implementations using
vocabulary."""
zope.component.adapts(
@@ -177,7 +177,7 @@
interfaces.ITerms)
class CollectionTermsVocabulary(Terms):
- """ITerms adapter for zope.schema.ICollection based implementations using
+ """ITerms adapter for zope.schema.ICollection based implementations using
vocabulary."""
zope.component.adapts(
Modified: z3c.form/trunk/src/z3c/form/tests/simple_caredit.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_caredit.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/tests/simple_caredit.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
+ xmlns:tal="http://xml.zope.org/namespaces/tal">
<body>
<i tal:condition="view/status" tal:content="view/status" />
<ul tal:condition="view/widgets/errors">
Modified: z3c.form/trunk/src/z3c/form/tests/simple_display.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_display.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/tests/simple_display.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
+ xmlns:tal="http://xml.zope.org/namespaces/tal">
<body>
<div class="row" tal:repeat="widget view/widgets/values">
<span tal:replace="structure widget/render" /></div>
Modified: z3c.form/trunk/src/z3c/form/tests/simple_edit.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_edit.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/tests/simple_edit.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
+ xmlns:tal="http://xml.zope.org/namespaces/tal">
<body>
<i tal:condition="view/status" tal:content="view/status" />
<ul tal:condition="view/widgets/errors">
Modified: z3c.form/trunk/src/z3c/form/tests/simple_edit_with_providers.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_edit_with_providers.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/tests/simple_edit_with_providers.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -16,7 +16,7 @@
<div class="row" tal:define="is_widget snippet/id | nothing">
- <tal:widget condition="is_widget"
+ <tal:widget condition="is_widget"
define="widget snippet">
<b tal:condition="widget/error"
tal:content="structure widget/error/render"
@@ -30,7 +30,7 @@
<tal:provider condition="not:is_widget"
define="contentprovider snippet"
replace="structure contentprovider/render" />
-
+
</div>
</tal:snippets>
Modified: z3c.form/trunk/src/z3c/form/tests/simple_groupedit.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_groupedit.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/tests/simple_groupedit.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:metal="http://xml.zope.org/namespaces/metal"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
+ xmlns:tal="http://xml.zope.org/namespaces/tal">
<body>
<i tal:condition="view/status" tal:content="view/status"/>
<ul tal:condition="view/widgets/errors"
@@ -23,7 +23,7 @@
inserted between tags (I tried to add "a" right after the
last tag - <input type="text" tal:replace="blahblah" />
Good luck to z3c.pt debuggers. :-)
-
+
nadako
</tal:XXX>
<metal:block metal:define-macro="rows">
Modified: z3c.form/trunk/src/z3c/form/tests/simple_owneredit.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_owneredit.pt 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/tests/simple_owneredit.pt 2012-01-03 14:53:55 UTC (rev 123926)
@@ -1,6 +1,6 @@
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
- tal:omit-tag="">
+ tal:omit-tag="">
<i tal:condition="view/status" tal:content="view/status" />
<ul tal:condition="view/widgets/errors">
<li tal:repeat="error view/widgets/errors">
Modified: z3c.form/trunk/src/z3c/form/util.py
===================================================================
--- z3c.form/trunk/src/z3c/form/util.py 2012-01-03 14:51:43 UTC (rev 123925)
+++ z3c.form/trunk/src/z3c/form/util.py 2012-01-03 14:53:55 UTC (rev 123926)
@@ -56,16 +56,16 @@
(spec is not None and
not zope.interface.interfaces.ISpecification.providedBy(spec)
and not isinstance(spec, classTypes)) ):
-
+
# Step 1: Calculate an interface name
ifaceName = 'IGeneratedForObject_%i' %hash(spec)
-
+
# Step 2: Find out if we already have such an interface
existingInterfaces = [
i for i in zope.interface.directlyProvidedBy(spec)
if i.__name__ == ifaceName
]
-
+
# Step 3a: Return an existing interface if there is one
if len(existingInterfaces) > 0:
spec = existingInterfaces[0]
More information about the checkins
mailing list