[Testbot] Plone 5.0 - Python 2.7 - Build # 2744 - Fixed! - 0 failure(s)

jenkins at plone.org jenkins at plone.org
Thu Jul 3 11:48:06 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 2744 - Fixed!
-------------------------------------------------------------------------------

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


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

Repository: plone.app.users
Branch: refs/heads/master
Date: 2014-07-03T11:48:40+01:00
Author: Jamie Lentin (lentinj) <jm at lentin.co.uk>
Commit: https://github.com/plone/plone.app.users/commit/94f94734362f0d7bf7d1c389729da6b6f2b51711

Docs: prefix is a Fields() option, not add()

Files changed:
M README.rst

diff --git a/README.rst b/README.rst
index 722bce9..fce1cd5 100644
--- a/README.rst
+++ b/README.rst
@@ -42,8 +42,10 @@ Where the `customschemachema.py` contains::
     @adapter(Interface, IDefaultBrowserLayer, UserDataPanel)
     class UserDataPanelExtender(extensible.FormExtender):
         def update(self):
-            fields = Fields(IEnhancedUserDataSchema)
-            self.add(fields, prefix="IEnhancedUserDataSchema")
+            fields = Fields(
+                IEnhancedUserDataSchema,
+                prefix="IEnhancedUserDataSchema")
+            self.add(fields)
 
 Storing / retreiving custom fields
 ----------------------------------




-------------------------------------------------------------------------------


More information about the Testbot mailing list