[Testbot] Plone 5.0 - Python 2.7 - Build # 3073 - Still failing! - 0 failure(s)

jenkins at plone.org jenkins at plone.org
Fri Aug 22 23:58:17 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 3073 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/3073/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: plone.app.form
Branch: refs/heads/master
Date: 2014-08-23T00:34:23+02:00
Author: Gil Forcada (gforcada) <gforcada at gnome.org>
Commit: https://github.com/plone/plone.app.form/commit/c4adac03ddb4f41cd5867bafbd1ba6032c181263

Whitespaces cleanup

Files changed:
M CHANGES.rst
M plone/app/form/_named.py
M plone/app/form/addingpageform.pt
M plone/app/form/base.py
M plone/app/form/configure.zcml
M plone/app/form/events.py
M plone/app/form/formlib.txt
M plone/app/form/inline_validation.py
M plone/app/form/inline_validation.txt
M plone/app/form/interfaces.py
M plone/app/form/overrides.zcml
M plone/app/form/pageform.pt
M plone/app/form/validators.py
M plone/app/form/widgets/checkboxwidget.py
M plone/app/form/widgets/interfaces.py
M plone/app/form/widgets/multicheckboxwidget.py
M plone/app/form/widgets/sequencewidget.py
M plone/app/form/widgets/ubermultiselectionwidget.pt
M plone/app/form/widgets/uberselectionwidget.pt
M plone/app/form/widgets/uberselectionwidget.txt
M plone/app/form/widgets/wysiwygwidget.py

diff --git a/CHANGES.rst b/CHANGES.rst
index 738dedd..18fe416 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,7 +17,7 @@ Changelog
 2.2.4 (unreleased)
 ------------------
 
-- Fixed ValueError in DateComponents.result() with a date before 1900. 
+- Fixed ValueError in DateComponents.result() with a date before 1900.
   [bsuttor]
 
 
diff --git a/plone/app/form/_named.py b/plone/app/form/_named.py
index 03beb4b..cc36d23 100644
--- a/plone/app/form/_named.py
+++ b/plone/app/form/_named.py
@@ -30,7 +30,7 @@ def __call__(self, *args, **kwargs):
         context = aq_inner(self.context)
         context_of_context = aq_inner(context.context)
         view = context.__of__(context_of_context)
-        
+
         # self.default_template is a ViewPageTemplateFile, which is a property descriptor
         # whose __get__ method returns a BoundPageTemplate.  That expects to be accessed from
         # a view, but we're accessing it from a NamedTemplateAdapter so we have to be sneaky and
@@ -42,7 +42,7 @@ def named_template_adapter(template):
     template.
     """
 
-    new_class = new.classobj('GeneratedClass', 
+    new_class = new.classobj('GeneratedClass',
                              (NamedTemplateAdapter,),
                              {})
     if HAS_CHAMELEON:
diff --git a/plone/app/form/addingpageform.pt b/plone/app/form/addingpageform.pt
index 021f7a8..907c846 100644
--- a/plone/app/form/addingpageform.pt
+++ b/plone/app/form/addingpageform.pt
@@ -6,12 +6,12 @@
 
 <metal:block fill-slot="top_slot"
                  tal:define="dummy python:request.set('disable_border',1)" />
-                 
+
 <body>
 <metal:main metal:fill-slot="main">
-  
+
   <div metal:use-macro="context/@@base-pageform.html/form" />
-  
+
 </metal:main>
 </body>
 </html>
diff --git a/plone/app/form/base.py b/plone/app/form/base.py
index 9a3a393..773b218 100644
--- a/plone/app/form/base.py
+++ b/plone/app/form/base.py
@@ -17,15 +17,15 @@
 class AddForm(formbase.AddForm):
     """An add form with standard Save and Cancel buttons
     """
-    
+
     implements(IPlonePageForm)
-        
+
     @form.action(_(u"label_save", default=u"Save"),
                  condition=form.haveInputWidgets,
                  name=u'save')
     def handle_save_action(self, action, data):
         self.createAndAdd(data)
-    
+
     @form.action(_(u"label_cancel", default=u"Cancel"),
                  validator=null_validator,
                  name=u'cancel')
@@ -37,13 +37,13 @@ def handle_cancel_action(self, action, data):
 class EditForm(formbase.EditForm):
     """An edit form with standard Save and Cancel buttons
     """
-    
+
     implements(IPlonePageForm, IEditForm)
-    
+
     def update(self):
         zope.event.notify(EditBegunEvent(self.context))
         super(EditForm, self).update()
-        
+
     def render(self):
         # If the object is locked, don't show any widgets
         lock_info = queryMultiAdapter((self.context, self.request), name="plone_lock_info")
@@ -51,7 +51,7 @@ def render(self):
             self.widgets = form.Widgets([], prefix=self.prefix)
             self.form_name = None # hide border
         return super(EditForm, self).render()
-    
+
     @form.action(_(u"label_save", default="Save"),
                  condition=form.haveInputWidgets,
                  name=u'save')
@@ -63,10 +63,10 @@ def handle_save_action(self, action, data):
         else:
             zope.event.notify(EditCancelledEvent(self.context))
             self.status = "No changes"
-            
+
         url = getMultiAdapter((self.context, self.request), name='absolute_url')()
         self.request.response.redirect(url)
-            
+
     @form.action(_(u"label_cancel", default=u"Cancel"),
                  validator=null_validator,
                  name=u'cancel')
diff --git a/plone/app/form/configure.zcml b/plone/app/form/configure.zcml
index 81908fd..7eb204b 100644
--- a/plone/app/form/configure.zcml
+++ b/plone/app/form/configure.zcml
@@ -12,14 +12,14 @@
       name="default"
       provides="zope.formlib.namedtemplate.INamedTemplate"
       />
-  
+
   <adapter
       for=".interfaces.IPloneSubPageForm"
       factory="plone.app.form.default_subpage_template"
       name="default"
       provides="zope.formlib.namedtemplate.INamedTemplate"
       />
-      
+
   <adapter
       for="zope.formlib.interfaces.IAddFormCustomization"
       factory="plone.app.form.adding_named_template_adapter"
@@ -40,31 +40,31 @@
       name="base-subpageform.html"
       template="subpageform.pt"
       />
-      
+
   <!-- Let Five's add views look pretty in CMF/Plone -->
   <configure package="Products.CMFDefault.skin">
-      
+
       <browser:page
         name="five_template"
         for="zope.browser.interfaces.IAdding"
         template="five_template.pt"
         permission="zope2.View"
         />
-      
+
   </configure>
-  
+
   <!-- Support locking on content that is marked to support it and
    which uses plone.app.form.base.EditForm
    -->
-    
-    <subscriber 
+
+    <subscriber
         zcml:condition="installed plone.locking"
         for="plone.locking.interfaces.ITTWLockable
              .interfaces.IEditBegunEvent"
-        handler="plone.locking.events.lockOnEditBegins" 
+        handler="plone.locking.events.lockOnEditBegins"
         />
-    
-    <subscriber 
+
+    <subscriber
         zcml:condition="installed plone.locking"
         for="plone.locking.interfaces.ITTWLockable
              .interfaces.IEditFinishedEvent"
diff --git a/plone/app/form/events.py b/plone/app/form/events.py
index 8a07a5a..244acd0 100644
--- a/plone/app/form/events.py
+++ b/plone/app/form/events.py
@@ -13,12 +13,12 @@ class EditBegunEvent(ObjectEvent):
     """An edit operation was begun
     """
     implements(IEditBegunEvent)
-    
+
 class EditCancelledEvent(ObjectEvent):
     """An edit operation was cancelled
     """
     implements(IEditCancelledEvent)
-    
+
 class EditSavedEvent(ObjectEvent):
     """An edit operation was completed
     """
diff --git a/plone/app/form/formlib.txt b/plone/app/form/formlib.txt
index 6082f7f..d653266 100644
--- a/plone/app/form/formlib.txt
+++ b/plone/app/form/formlib.txt
@@ -25,7 +25,7 @@ request, which seems to be no longer needed to have it work with Zope
   >>> bar.adapters = {}
   >>> action = bar.actions[u'form.actions.apply']
 
-Now we see if we can use EditFormBase's apply action (we couldn't 
+Now we see if we can use EditFormBase's apply action (we couldn't
 before).
 
   >>> bar = BarForm(foo, request)
diff --git a/plone/app/form/inline_validation.py b/plone/app/form/inline_validation.py
index de4e598..4170602 100644
--- a/plone/app/form/inline_validation.py
+++ b/plone/app/form/inline_validation.py
@@ -23,7 +23,7 @@ def __call__(self, fname):
 
         raw_fname = fname[len(form.prefix) + 1:]
         formlib_field = form.form_fields[raw_fname]
- 
+
         widgets = formlib.setUpWidgets(
             (formlib_field,), form.prefix, context,
             request, form=form, adapters={}, ignore_request=False)
diff --git a/plone/app/form/inline_validation.txt b/plone/app/form/inline_validation.txt
index 0684e10..8fc34c3 100644
--- a/plone/app/form/inline_validation.txt
+++ b/plone/app/form/inline_validation.txt
@@ -23,7 +23,7 @@ Then, we will create a simple test form and a context for it to operate on.
     ...     title = schema.TextLine(title=u"Title", required=True)
     ...     text = schema.Text(title=u"Description")
     ...     size = schema.Int(title=u"Size")
-    
+
     >>> from plone.app.content.item import Item
     >>> from zope.interface import implements
     >>> class Wibble(Item):
@@ -32,7 +32,7 @@ Then, we will create a simple test form and a context for it to operate on.
     ...     text = u""
     ...     size = 0
 
-    
+
     >>> from zope.formlib import form
     >>> from plone.app.form import base
     >>> from Products.Five import BrowserView
@@ -74,10 +74,10 @@ validation enabled, it will be called with the following parameters:
     '{"errmsg": ""}'
 
 In this case, there is no validation error. The resulting payload should tell
-the client-side handler to remove any error message that may be showing 
+the client-side handler to remove any error message that may be showing
 currently.
 
-We can also invoke a validation error, for example if a required field is 
+We can also invoke a validation error, for example if a required field is
 missing:
 
     >>> request = make_request({'form.title': ''})
@@ -85,7 +85,7 @@ missing:
     >>> formlib_validate_input = getMultiAdapter((form, request,), name=u"formlib_validate_field")
     >>> formlib_validate_input(fname=u'form.title')
     '{"errmsg": "<span class=\\"error\\">Required input is missing.</span>"}'
-          
+
 And similarly, we will get an error if the field has an invalid value:
 
     >>> request = make_request({'form.size': 'X'})
diff --git a/plone/app/form/interfaces.py b/plone/app/form/interfaces.py
index 6492ff7..dfa17c2 100644
--- a/plone/app/form/interfaces.py
+++ b/plone/app/form/interfaces.py
@@ -20,19 +20,19 @@ class IEditForm(Interface):
     """Marker interface for edit forms. This allows things like the locking
     widget to be registered for edit forms only.
     """
-    
+
 class IEditBegunEvent(IObjectEvent):
     """An event signalling that editing has begun on an object
     """
-    
+
 class IEditFinishedEvent(IObjectEvent):
     """Base event signalling that an edit operation has completed
     """
-    
+
 class IEditCancelledEvent(IEditFinishedEvent):
     """An event signalling that editing was cancelled on the given object
     """
-    
+
 class IEditSavedEvent(IEditFinishedEvent):
     """An event signalling that editing was complated on the given object
     """
diff --git a/plone/app/form/overrides.zcml b/plone/app/form/overrides.zcml
index 86bb622..b6b5828 100644
--- a/plone/app/form/overrides.zcml
+++ b/plone/app/form/overrides.zcml
@@ -11,7 +11,7 @@
       factory=".exception.WidgetInputErrorView"
       permission="zope.Public"
       />
-  
+
   <adapter
       for="zope.formlib.interfaces.IAction"
       factory="plone.app.form.render_submit_button"
diff --git a/plone/app/form/pageform.pt b/plone/app/form/pageform.pt
index 07f775c..7a51a75 100644
--- a/plone/app/form/pageform.pt
+++ b/plone/app/form/pageform.pt
@@ -11,8 +11,8 @@
 <metal:main fill-slot="main">
 
     <metal:form metal:define-macro="form">
-    <metal:override define-slot="main">    
-    
+    <metal:override define-slot="main">
+
         <tal:status define="status view/status" condition="status">
             <dl class="portalMessage error"
                 tal:condition="view/errors">
@@ -30,7 +30,7 @@
                 <dd tal:content="status" />
             </dl>
         </tal:status>
-    
+
         <h1  class="documentFirstHeading"
              i18n:translate=""
              tal:condition="view/label"
@@ -46,11 +46,11 @@
                                   class string:kssattr-formname-${view/__name__}"
                   method="post"
                   enctype="multipart/form-data"
-                  id="zc.page.browser_form">              
-              
+                  id="zc.page.browser_form">
+
                   <metal:block define-macro="header">
 
-                      <tal:block replace="nothing">  
+                      <tal:block replace="nothing">
                           <div class="form-status"
                            tal:define="status view/status"
                            tal:condition="status">
@@ -135,10 +135,10 @@
                         </span>
                       </div>
                   </fieldset>
-              
+
             </form>
-    
-    
+
+
             <script type="text/javascript"
                 tal:define="extra_script view/extra_script | nothing"
                 tal:condition="extra_script"
diff --git a/plone/app/form/validators.py b/plone/app/form/validators.py
index ed8292b..216570a 100644
--- a/plone/app/form/validators.py
+++ b/plone/app/form/validators.py
@@ -3,13 +3,13 @@ def update_only_validator(form, action):
 
     This allows you to create an action without having formlib render a
     button for it.
-    """ 
+    """
     return "form_result" not in form.__dict__
 
 
 def null_validator(*args, **kwargs):
     """A validator that doesn't validate anything.
-    
+
     This is somewhat lame, but if you have a "Cancel" type button that
     won't want to validate the form, you need something like this.
 
diff --git a/plone/app/form/widgets/checkboxwidget.py b/plone/app/form/widgets/checkboxwidget.py
index ffc97b3..a07a941 100644
--- a/plone/app/form/widgets/checkboxwidget.py
+++ b/plone/app/form/widgets/checkboxwidget.py
@@ -60,5 +60,5 @@ def __call__(self):
 class DisabledCheckBoxWidget(CheckBoxWidget):
     """Simple variation of the CheckBoxWidget which renders itself disabled.
     """
-    
+
     disabled = True
diff --git a/plone/app/form/widgets/interfaces.py b/plone/app/form/widgets/interfaces.py
index 4c9e1d0..568c155 100644
--- a/plone/app/form/widgets/interfaces.py
+++ b/plone/app/form/widgets/interfaces.py
@@ -3,7 +3,7 @@
 class IDateComponents(Interface):
     """A view that provides some helper methods useful in date widgets.
     """
-    
+
     def result(date=None,
                use_ampm=0,
                starting_year=None,
diff --git a/plone/app/form/widgets/multicheckboxwidget.py b/plone/app/form/widgets/multicheckboxwidget.py
index b2608f0..c632649 100644
--- a/plone/app/form/widgets/multicheckboxwidget.py
+++ b/plone/app/form/widgets/multicheckboxwidget.py
@@ -9,7 +9,7 @@ class MultiCheckBoxWidget(BaseWidget):
     orientation = "vertical"
 
     _joinButtonToMessageTemplate = u"%s %s"
-    
+
     def renderItem(self, index, text, value, name, cssClass):
         id = '%s.%s' % (name, index)
         elem = renderElement('input',
diff --git a/plone/app/form/widgets/sequencewidget.py b/plone/app/form/widgets/sequencewidget.py
index 53b4b36..8f1ec82 100644
--- a/plone/app/form/widgets/sequencewidget.py
+++ b/plone/app/form/widgets/sequencewidget.py
@@ -3,7 +3,7 @@
 class SequenceWidget(BaseWidget):
     """Plone specific widget that is going to include originalValue attribute
     within marker input element.
-    
+
     It'll be used to enable unload form protection for Remove, Add widget
     buttons usage.
     """
diff --git a/plone/app/form/widgets/ubermultiselectionwidget.pt b/plone/app/form/widgets/ubermultiselectionwidget.pt
index 5653642..d38afdb 100644
--- a/plone/app/form/widgets/ubermultiselectionwidget.pt
+++ b/plone/app/form/widgets/ubermultiselectionwidget.pt
@@ -27,9 +27,9 @@
              tal:attributes="name string:${options/name}:list;
                              value term/token;
                              type python:(readonly or addonly) and 'hidden' or 'checkbox';" />
-      <span tal:content="term/title" 
+      <span tal:content="term/title"
             tal:attributes="title term/description | nothing"/>
-      <span class="discreet" 
+      <span class="discreet"
             tal:condition="term/description | nothing"
             tal:content="term/description" />
     </div>
@@ -39,7 +39,7 @@
        tal:condition="python: addonly or not (readonly or removeonly)">
       <input type="text"
              value=""
-             tal:define="name string:${options/name}.query" 
+             tal:define="name string:${options/name}.query"
              tal:attributes="name name;
                              id options/name;
                              value request/?name | default" />
@@ -68,7 +68,7 @@
       <span tal:attributes="title term/description | nothing"
                 tal:content="term/title">title</span>
 
-      <span class="discreet" 
+      <span class="discreet"
             tal:condition="term/description | nothing"
             tal:content="term/description" />
 
diff --git a/plone/app/form/widgets/uberselectionwidget.pt b/plone/app/form/widgets/uberselectionwidget.pt
index 5a9d822..00bb1af 100644
--- a/plone/app/form/widgets/uberselectionwidget.pt
+++ b/plone/app/form/widgets/uberselectionwidget.pt
@@ -16,9 +16,9 @@
              checked="checked"
              tal:attributes="name string:${options/name};
                              value term/token" />
-      <span tal:content="term/title" 
+      <span tal:content="term/title"
             tal:attributes="title term/description | nothing"/>
-      <span class="discreet" 
+      <span class="discreet"
             tal:condition="term/description | nothing"
             tal:content="term/description" />
     </div>
@@ -26,7 +26,7 @@
 
   <input type="text"
          value=""
-         tal:define="name string:${options/name}.query" 
+         tal:define="name string:${options/name}.query"
          tal:attributes="name name;
                          id options/name;
                          value request/?name | default" />
@@ -57,7 +57,7 @@
           <span tal:attributes="title term/description | nothing"
                 tal:content="term/title">title</span>
 
-          <span class="discreet" 
+          <span class="discreet"
                 tal:condition="term/description | nothing"
                 tal:content="term/description" />
 
diff --git a/plone/app/form/widgets/uberselectionwidget.txt b/plone/app/form/widgets/uberselectionwidget.txt
index bcaf7fd..e5ac5d1 100644
--- a/plone/app/form/widgets/uberselectionwidget.txt
+++ b/plone/app/form/widgets/uberselectionwidget.txt
@@ -137,7 +137,7 @@ Test multiselection
 And the widget itself.
 
   >>> widget = UberMultiSelectionWidget(selection, request)
-  
+
 Widget value should always be list
 
   >>> widget._value()
diff --git a/plone/app/form/widgets/wysiwygwidget.py b/plone/app/form/widgets/wysiwygwidget.py
index 91185ac..67e4020 100644
--- a/plone/app/form/widgets/wysiwygwidget.py
+++ b/plone/app/form/widgets/wysiwygwidget.py
@@ -32,6 +32,6 @@ def __call__(self):
         site = getSite()
         while site is not None and not ISiteRoot.providedBy(site):
             site = aq_parent(site)
-        
+
         return self.template(form_context=site,
                              value=value)
\ No newline at end of file




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 19292 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140822/1912c283/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 93332 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140822/1912c283/attachment-0003.obj>


More information about the Testbot mailing list