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

jenkins at plone.org jenkins at plone.org
Sat Aug 23 07:08:06 UTC 2014


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

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


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

Repository: plone.formwidget.recurrence
Branch: refs/heads/master
Date: 2014-08-23T01:23:49+02:00
Author: Gil Forcada (gforcada) <gforcada at gnome.org>
Commit: https://github.com/plone/plone.formwidget.recurrence/commit/5b113a7ebfa7e6b8fff4e59e5d9ea0f2c552916c

Whitespaces cleanup

Files changed:
M README.rst
M plone/formwidget/recurrence/browser/lib/jquery.tmpl-beta1.js
M plone/formwidget/recurrence/tests/configure.zcml

diff --git a/README.rst b/README.rst
index 849ecd3..ea18383 100644
--- a/README.rst
+++ b/README.rst
@@ -17,18 +17,18 @@ string, ready to be used with python-dateutil's rrulestr.
 Installation
 ------------
 
-You need to add plone.formwidget.recurrence to either your buildout, or 
+You need to add plone.formwidget.recurrence to either your buildout, or
 your product requirements. In this addition you should specify if you
 want the Archetypes or the z3c.form widget, or both. For example::
 
   [buildout]
   eggs += plone.formwidget.recurrence[archetypes]
-    
-or:: 
+
+or::
 
   [buildout]
   eggs += plone.formwidget.recurrence[z3cform]
-    
+
 or::
 
   install_requires=[
diff --git a/plone/formwidget/recurrence/browser/lib/jquery.tmpl-beta1.js b/plone/formwidget/recurrence/browser/lib/jquery.tmpl-beta1.js
index 1c5b2d6..efb6dc1 100644
--- a/plone/formwidget/recurrence/browser/lib/jquery.tmpl-beta1.js
+++ b/plone/formwidget/recurrence/browser/lib/jquery.tmpl-beta1.js
@@ -144,7 +144,7 @@
 			if ( options && options.wrapped ) {
 				updateWrapped( options, options.wrapped );
 			}
-			ret = jQuery.isArray( data ) ? 
+			ret = jQuery.isArray( data ) ?
 				jQuery.map( data, function( dataItem ) {
 					return dataItem ? newTmplItem( options, parentItem, tmpl, dataItem ) : null;
 				}) :
@@ -189,10 +189,10 @@
 				return typeof name === "string" ? (jQuery.template[name] = tmpl) : tmpl;
 			}
 			// Return named compiled template
-			return name ? (typeof name !== "string" ? jQuery.template( null, name ): 
-				(jQuery.template[name] || 
-					// If not in map, treat as a selector. (If integrated with core, use quickExpr.exec) 
-					jQuery.template( null, htmlExpr.test( name ) ? name : jQuery( name )))) : null; 
+			return name ? (typeof name !== "string" ? jQuery.template( null, name ):
+				(jQuery.template[name] ||
+					// If not in map, treat as a selector. (If integrated with core, use quickExpr.exec)
+					jQuery.template( null, htmlExpr.test( name ) ? name : jQuery( name )))) : null;
 		},
 
 		encode: function( text ) {
@@ -207,7 +207,7 @@
 				_default: { $2: "null" },
 				open: "if($notnull_1){_=_.concat($item.nest($1,$2));}"
 				// tmpl target parameter can be of type function, so use $1, not $1a (so not auto detection of functions)
-				// This means that {{tmpl foo}} treats foo as a template (which IS a function). 
+				// This means that {{tmpl foo}} treats foo as a template (which IS a function).
 				// Explicit parens can be used if foo is a function that returns a template: {{tmpl foo()}}.
 			},
 			"wrap": {
@@ -229,7 +229,7 @@
 				open: "}else if(($notnull_1) && $1a){"
 			},
 			"html": {
-				// Unecoded expression evaluation. 
+				// Unecoded expression evaluation.
 				open: "if($notnull_1){_.push($1a);}"
 			},
 			"=": {
@@ -268,16 +268,16 @@
 	//========================== Private helper functions, used by code above ==========================
 
 	function build( tmplItem, nested, content ) {
-		// Convert hierarchical content into flat string array 
+		// Convert hierarchical content into flat string array
 		// and finally return array of fragments ready for DOM insertion
 		var frag, ret = content ? jQuery.map( content, function( item ) {
-			return (typeof item === "string") ? 
+			return (typeof item === "string") ?
 				// Insert template item annotations, to be converted to jQuery.data( "tmplItem" ) when elems are inserted into DOM.
 				(tmplItem.key ? item.replace( /(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g, "$1 " + tmplItmAtt + "=\"" + tmplItem.key + "\" $2" ) : item) :
 				// This is a child template item. Build nested template.
 				build( item, tmplItem, item._ctnt );
-		}) : 
-		// If content is not defined, insert tmplItem directly. Not a template item. May be a string, or a string array, e.g. from {{html $item.html()}}. 
+		}) :
+		// If content is not defined, insert tmplItem directly. Not a template item. May be a string, or a string array, e.g. from {{html $item.html()}}.
 		tmplItem;
 		if ( nested ) {
 			return ret;
@@ -334,7 +334,7 @@
 						parens = "";
 					}
 					if ( target ) {
-						target = unescape( target ); 
+						target = unescape( target );
 						args = args ? ("," + unescape( args ) + ")") : (parens ? ")" : "");
 						// Support for target being things like a.toLowerCase();
 						// In that case don't call with template item as 'this' pointer. Just evaluate...
@@ -344,7 +344,7 @@
 						exprAutoFnDetect = expr = def.$1 || "null";
 					}
 					fnargs = unescape( fnargs );
-					return "');" + 
+					return "');" +
 						tag[ slash ? "close" : "open" ]
 							.split( "$notnull_1" ).join( target ? "typeof(" + target + ")!=='undefined' && (" + target + ")!=null" : "true" )
 							.split( "$1a" ).join( exprAutoFnDetect )
@@ -362,8 +362,8 @@
 		);
 	}
 	function updateWrapped( options, wrapped ) {
-		// Build the wrapped content. 
-		options._wrap = build( options, true, 
+		// Build the wrapped content.
+		options._wrap = build( options, true,
 			// Suport imperative scenario in which options.wrapped can be set to a selector or an HTML string.
 			jQuery.isArray( wrapped ) ? wrapped : [htmlExpr.test( wrapped ) ? wrapped : jQuery( wrapped ).html()]
 		).join("");
@@ -423,9 +423,9 @@
 			}
 			if ( tmplItem ) {
 				pntItem = tmplItem;
-				// Find the template item of the parent element. 
+				// Find the template item of the parent element.
 				// (Using !=, not !==, since pntItem.key is number, and pntNode may be a string)
-				while ( pntItem && pntItem.key != pntNode ) { 
+				while ( pntItem && pntItem.key != pntNode ) {
 					// Add this element as a top-level node for this rendered template item, as well as for any
 					// ancestor items between this item and the item of its parent element
 					pntItem.nodes.push( el );
@@ -439,7 +439,7 @@
 			}
 			function cloneTmplItem( key ) {
 				key = key + keySuffix;
-				tmplItem = newClonedItems[key] = 
+				tmplItem = newClonedItems[key] =
 					(newClonedItems[key] || newTmplItem( tmplItem, newTmplItems[tmplItem.parent.key + keySuffix] || tmplItem.parent, null, true ));
 			}
 		}
@@ -463,7 +463,7 @@
 		// nested template, using {{wrap}} tag
 		var options = call.options || {};
 		options.wrapped = wrapped;
-		// Apply the template, which may incorporate wrapped content, 
+		// Apply the template, which may incorporate wrapped content,
 		return jQuery.tmpl( jQuery.template( call.tmpl ), call.data, options, call.item );
 	}
 
diff --git a/plone/formwidget/recurrence/tests/configure.zcml b/plone/formwidget/recurrence/tests/configure.zcml
index bfcbd30..74c817d 100644
--- a/plone/formwidget/recurrence/tests/configure.zcml
+++ b/plone/formwidget/recurrence/tests/configure.zcml
@@ -5,7 +5,7 @@
     i18n_domain="plone.formwidget.recurrence">
 
   <five:registerPackage package="." initialize=".initialize" />
-  
+
   <genericsetup:registerProfile
       name="sample_types"
       title="Example content type for Recurrence Widget"
@@ -13,6 +13,6 @@
       description='Extension profile for the plone.formwidget.recurrence package.'
       provides="Products.GenericSetup.interfaces.EXTENSION"
       for=".base.DemoProfile"
-      />  
+      />
 
 </configure>




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


More information about the Testbot mailing list