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

jenkins at plone.org jenkins at plone.org
Sat Aug 23 02:35:50 UTC 2014


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

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


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

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

Whitespaces cleanup

Files changed:
M CHANGES.rst
M README.rst
M plone/app/registry/README.txt
M plone/app/registry/browser/configure.zcml
M plone/app/registry/browser/controlpanel_layout.pt
M plone/app/registry/browser/edit_layout.pt
M plone/app/registry/browser/records.pt
M plone/app/registry/configure.zcml
M plone/app/registry/exportimport/configure.zcml
M plone/app/registry/exportimport/handler.py
M plone/app/registry/exportimport/handlers.zcml
M plone/app/registry/profiles/default/componentregistry.xml
M plone/app/registry/tests/test_exportimport.py

diff --git a/CHANGES.rst b/CHANGES.rst
index e2b3247..2ae5903 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -103,7 +103,7 @@ Changelog
 
 - 1.0 Final release.
   [esteele]
-  
+
 - Add MANIFEST.in.
   [WouterVH]
 
@@ -179,7 +179,7 @@ Changelog
   [MatthewWilkes]
 
 - Improved the look and feel of the registry records control panel.
-  [optilude] 
+  [optilude]
 
 - Added explanation how to plug-in custom widgets for the registry [miohtama]
 
diff --git a/README.rst b/README.rst
index 4ac12be..fc1a078 100644
--- a/README.rst
+++ b/README.rst
@@ -29,7 +29,7 @@ The registry is made up of *records*. A record consists of a *field*,
 describing the record, and a *value*.  Fields are based on the venerable
 ``zope.schema``, although the standard allowable field types are defined in
 the module ``plone.registry.field``. (This is partly because the field
-definitions are actually persisted with the record, and partly because 
+definitions are actually persisted with the record, and partly because
 ``plone.registry`` performs some additional validation to ensure the integrity
 of the registry).
 
@@ -230,9 +230,9 @@ For example, we could have an interface like this::
 
     from zope.interface import Interface
     from zope import schema
-    
+
     class IZooSettings(Interface):
-        
+
         entryPrice = schema.Decimal(title=u"Admission charge")
         messageOfTheDay = schema.TextLine(title=u"A banner message", default=u"Welcome!")
 
@@ -328,7 +328,7 @@ with::
 
     from zope.component import getUtility
     from plone.registry.interfaces import IRegistry
-    
+
     registry = getUtility(IRegistry)
 
 Values can now get read or set using simple dictionary syntax::
@@ -357,10 +357,10 @@ the field in the interface from which this record was created.
 
 In unit tests, it may be useful to create a new record programmatically.
 You can do that like so::
-    
+
     from plone.registry.record import Record
     from plone.registry import field
-    
+
     registry.records['my.record'] = Record(field.TextLine(title=u"A record"), u"Test")
 
 The constructor takes a persistent field and the initial value as parameters.
@@ -380,7 +380,7 @@ Accessing the registry in page templates
 
 You can also access the registry from page templates. Example TALES expression::
 
-     python:context.portal_registry['plone.app.theming.interfaces.IThemeSettings.enabled'] 
+     python:context.portal_registry['plone.app.theming.interfaces.IThemeSettings.enabled']
 
 Using the records proxy
 ~~~~~~~~~~~~~~~~~~~~~~~
@@ -410,7 +410,7 @@ the field for the corresponding record.
 When fetching the records proxy, ``plone.registry`` will by default verify
 that records exists for each field in the interface, and will raise an error
 if this is not the case. To disable this check, you can do::
-    
+
     zooSettings = registry.forInterface(IZooSettings, check=False)
 
 This is sometimes useful in cases where it is not certain that the registry
@@ -435,10 +435,10 @@ pertaining to records associated with specific interfaces. For example::
 
     from zope.component import adapter
     from plone.registry.interfaces import IRecordModifiedEvent
-    
+
     from logging import getLogger
     log = getLogger('my.package)
-    
+
     @adapter(IZooSettings, IRecordModifiedEvent)
     def detectPriceChange(settings, event):
         if record.fieldName == 'entryPrice':
@@ -470,15 +470,15 @@ To use it, create a module like this::
 
     from plone.app.registry.browser.controlpanel import RegistryEditForm
     from plone.app.registry.browser.controlpanel import ControlPanelFormWrapper
-    
+
     from my.package.interfaces import IZooSettings
     from plone.z3cform import layout
     from z3c.form import form
-    
+
     class ZooControlPanelForm(RegistryEditForm):
         form.extends(RegistryEditForm)
         schema = IZooSettings
-    
+
     ZooControlPanelView = layout.wrap_form(ZooControlPanelForm, ControlPanelFormWrapper)
     ZooControlPanelView.label = u"Zoo settings"
 
@@ -499,7 +499,7 @@ import step in your GenericSetup profile::
         name="portal_controlpanel"
         xmlns:i18n="http://xml.zope.org/namespaces/i18n"
         i18n:domain="my.package">
-        
+
         <configlet
             title="Zoo settings"
             action_id="my.package.zoosettings"
@@ -512,7 +512,7 @@ import step in your GenericSetup profile::
             i18n:attributes="title">
                 <permission>Manage portal</permission>
         </configlet>
-    
+
     </object>
 
 The ``icon_expr`` attribute should give a URL for the icon. Here, we have
@@ -531,8 +531,8 @@ to be used in the control panel form.
 * ``updateFields()`` may set widget factories i.e. widget type to be used
 
 * ``updateWidgets()`` may play with widget properties and widget value
-  shown to the user 
-  
+  shown to the user
+
 Example (*collective.gtags* project controlpanel.py)::
 
         class TagSettingsEditForm(controlpanel.RegistryEditForm):
@@ -574,7 +574,7 @@ Example traceback::
           Module plone.registry.registry, line 56, in forInterface
         KeyError: 'Interface `mfabrik.plonezohointegration.interfaces.ISettings` defines a field `username`, for which there is no record.'
 
-This means that 
+This means that
 
 * Your registry.xml does not define default values for your configuration keys
 * You have changed your configuration schema, but haven't rerun add-on
diff --git a/plone/app/registry/README.txt b/plone/app/registry/README.txt
index acdc517..7571f5b 100644
--- a/plone/app/registry/README.txt
+++ b/plone/app/registry/README.txt
@@ -25,7 +25,7 @@ reg['mr.package.IMyPackage.field2'] = "Initial value"
 
 #2 - change proposed
 
-XML: 
+XML:
 <records
    name="my-package"
    interface="my.package.IMyPackage" />
diff --git a/plone/app/registry/browser/configure.zcml b/plone/app/registry/browser/configure.zcml
index 269e57b..2816c22 100644
--- a/plone/app/registry/browser/configure.zcml
+++ b/plone/app/registry/browser/configure.zcml
@@ -18,7 +18,7 @@
         class=".records.RecordsControlPanel"
         permission="cmf.ManagePortal"
         />
-        
+
     <browser:page
         name="edit"
         for="plone.registry.interfaces.IRegistry"
@@ -26,7 +26,7 @@
         template="edit_layout.pt"
         permission="cmf.ManagePortal"
         />
-    
+
     <browser:resourceDirectory
         name="plone.app.registry"
         directory="resources"
diff --git a/plone/app/registry/browser/controlpanel_layout.pt b/plone/app/registry/browser/controlpanel_layout.pt
index 2550b1d..334f916 100644
--- a/plone/app/registry/browser/controlpanel_layout.pt
+++ b/plone/app/registry/browser/controlpanel_layout.pt
@@ -22,15 +22,15 @@
     <div metal:use-macro="context/global_statusmessage/macros/portal_message">
       Portal status message
     </div>
-    
 
-    
+
+
     <div id="content-core">
         <div id="layout-contents">
             <span tal:replace="structure view/contents" />
         </div>
     </div>
-    
+
 </div>
 </body>
 </html>
diff --git a/plone/app/registry/browser/edit_layout.pt b/plone/app/registry/browser/edit_layout.pt
index 4f02bc0..429d40f 100644
--- a/plone/app/registry/browser/edit_layout.pt
+++ b/plone/app/registry/browser/edit_layout.pt
@@ -5,23 +5,23 @@
       lang="en"
       metal:use-macro="here/prefs_main_template/macros/master"
       i18n:domain="plone">
-      
+
 <metal:block fill-slot="top_slot"
              tal:define="dummy python:request.set('disable_border',1)" />
 
 <body>
 <div id="content" metal:fill-slot="prefs_configlet_content">
-    
+
     <h1 class="documentFirstHeading" tal:content="view/label">View Title</h1>
-    
+
     <p class="documentDescription" i18n:translate="description_record_edit">
         Use the form below to edit the value of this particular record.
     </p>
-    
+
     <div id="layout-contents">
         <span tal:replace="structure view/contents" />
     </div>
-    
+
 </div>
 </body>
 </html>
diff --git a/plone/app/registry/browser/records.pt b/plone/app/registry/browser/records.pt
index 930c616..e0876e7 100644
--- a/plone/app/registry/browser/records.pt
+++ b/plone/app/registry/browser/records.pt
@@ -104,7 +104,7 @@
         The table below shows record currently managed by the configuration
         registry. Click on a record to edit it.
     </p>
-    
+
     <div id="content-core">
         <div id="recordsContainer">
             <table id="recordsTable" class="listing">
diff --git a/plone/app/registry/configure.zcml b/plone/app/registry/configure.zcml
index a19008d..7b97646 100644
--- a/plone/app/registry/configure.zcml
+++ b/plone/app/registry/configure.zcml
@@ -7,7 +7,7 @@
     <include package="Products.CMFCore" file="permissions.zcml" />
 
     <include package="plone.registry" />
-    
+
     <include package=".exportimport" />
     <include package=".browser" />
 
@@ -23,7 +23,7 @@
             interface="plone.registry.interfaces.IRegistry"
             />
     </class>
-    
+
     <gs:registerProfile
         name="default"
         directory="profiles/default"
diff --git a/plone/app/registry/exportimport/configure.zcml b/plone/app/registry/exportimport/configure.zcml
index b019a73..3c3648c 100644
--- a/plone/app/registry/exportimport/configure.zcml
+++ b/plone/app/registry/exportimport/configure.zcml
@@ -16,12 +16,12 @@
         <depends name="componentregistry"/>
         <depends name="toolset"/>
     </gs:importStep>
-    
+
     <gs:exportStep
         name="plone.app.registry"
         title="Export the configuration registry schemata"
         description="Exports records and settings"
         handler=".handler.exportRegistry"
         />
-        
+
 </configure>
diff --git a/plone/app/registry/exportimport/handler.py b/plone/app/registry/exportimport/handler.py
index 65e451e..17d0abb 100644
--- a/plone/app/registry/exportimport/handler.py
+++ b/plone/app/registry/exportimport/handler.py
@@ -270,7 +270,7 @@ def importRecords(self, node):
             raise KeyError(u"A <records /> node must have an 'interface' attribute.")
 
         prefix = node.attrib.get('prefix', None) # None means use interface.__identifier__
-        
+
         if node.attrib.get('delete') is not None:
             self.logger.warning(u"The 'delete' attribute of <record /> nodes "
                                 u"is deprecated, it should be replaced with "
diff --git a/plone/app/registry/exportimport/handlers.zcml b/plone/app/registry/exportimport/handlers.zcml
index 2df5926..7ebd363 100644
--- a/plone/app/registry/exportimport/handlers.zcml
+++ b/plone/app/registry/exportimport/handlers.zcml
@@ -5,7 +5,7 @@
     <include package="plone.supermodel" />
 
     <!-- plone.supermodel field handlers -->
-    
+
     <utility
         component=".fields.BytesHandler"
         name="plone.registry.field.Bytes"
@@ -94,5 +94,5 @@
         component=".fields.ChoiceHandler"
         name="plone.registry.field.Choice"
         />
-        
+
 </configure>
diff --git a/plone/app/registry/profiles/default/componentregistry.xml b/plone/app/registry/profiles/default/componentregistry.xml
index dcfff8f..ba3d806 100644
--- a/plone/app/registry/profiles/default/componentregistry.xml
+++ b/plone/app/registry/profiles/default/componentregistry.xml
@@ -2,7 +2,7 @@
 <componentregistry>
     <adapters/>
     <utilities>
-        <utility 
+        <utility
             interface="plone.registry.interfaces.IRegistry"
             object="portal_registry"
             />
diff --git a/plone/app/registry/tests/test_exportimport.py b/plone/app/registry/tests/test_exportimport.py
index 300f876..4557be9 100644
--- a/plone/app/registry/tests/test_exportimport.py
+++ b/plone/app/registry/tests/test_exportimport.py
@@ -160,7 +160,7 @@ def test_import_records_remove(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': xml}
-        
+
         importRegistry(context)
 
         self.assertEquals(2, len(self.registry.records))
@@ -171,7 +171,7 @@ def test_import_records_remove(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': delete_xml}
-        
+
         importRegistry(context)
 
         self.assertEquals(0, len(self.registry.records))
@@ -184,7 +184,7 @@ def test_import_records_delete_deprecated(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': xml}
-        
+
         importRegistry(context)
 
         self.assertEquals(2, len(self.registry.records))
@@ -195,7 +195,7 @@ def test_import_records_delete_deprecated(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': delete_xml}
-        
+
         importRegistry(context)
 
         self.assertEquals(0, len(self.registry.records))
@@ -208,7 +208,7 @@ def test_import_records_remove_with_omit(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': xml}
-        
+
         importRegistry(context)
 
         self.assertEquals(2, len(self.registry.records))
@@ -221,7 +221,7 @@ def test_import_records_remove_with_omit(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': delete_xml}
-        
+
         importRegistry(context)
 
         self.assertEquals(1, len(self.registry.records))
@@ -237,7 +237,7 @@ def test_import_records_remove_with_value(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': xml}
-        
+
         importRegistry(context)
 
         self.assertEquals(2, len(self.registry.records))
@@ -250,7 +250,7 @@ def test_import_records_remove_with_value(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': delete_xml}
-        
+
         self.assertRaises(ValueError, importRegistry, context)
 
         self.assertEquals(2, len(self.registry.records))
@@ -797,7 +797,7 @@ def test_import_with_comments(self):
 """
         context = DummyImportContext(self.site, purge=False)
         context._files = {'registry.xml': xml}
-        
+
         importRegistry(context)
 
         self.assertEquals(3, len(self.registry.records))




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 15183 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140823/817f5eec/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 91139 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140823/817f5eec/attachment-0003.obj>


More information about the Testbot mailing list