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

jenkins at plone.org jenkins at plone.org
Tue Aug 26 03:13:43 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 3121 - Failure!
-------------------------------------------------------------------------------

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


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

Repository: plone.alterego
Branch: refs/heads/master
Date: 2014-08-26T00:45:42+02:00
Author: Gil Forcada (gforcada) <gforcada at gnome.org>
Commit: https://github.com/plone/plone.alterego/commit/9946cd23039b64ffc96bda50355729e7dba3b40c

Whitespaces cleanup

Files changed:
M README.txt
M docs/INSTALL.txt
M docs/LICENSE.txt
M plone/alterego/alterego.txt
M plone/alterego/dynamic.py
M plone/alterego/interfaces.py
M plone/alterego/tests.py

diff --git a/README.txt b/README.txt
index 2f88bab..1546157 100644
--- a/README.txt
+++ b/README.txt
@@ -13,12 +13,12 @@ Usage
 To use this package, you should:
 
  - Identify an appropriate parent module where the dynamic module will live.
-  
+
  - Ensure that plone.alterego.dynamic.create() is called with this module and
-   a dynamic module name. Typically, you'd do this in the parent module 
+   a dynamic module name. Typically, you'd do this in the parent module
    itself, so that the dynamic module is instantiated as soon as the parent
    module is imported.
-   
+
  - Register a named utility providing IDynamicObjectFactory. The name should
    be the same as the full dotted path to the dynamic module. This utility
    will be responsible for creating the objects that inhabit the dynamic
@@ -58,7 +58,7 @@ as a factory.
     >>> from zope.interface.interface import InterfaceClass
     >>> class InterfaceOnDemand(object):
     ...     interface.implements(IDynamicObjectFactory)
-    ...     
+    ...
     ...     def __call__(self, name, module):
     ...         schema = InterfaceClass(name, (interface.Interface,), __module__=module.__name__)
     ...         setattr(module, name, schema)
@@ -79,7 +79,7 @@ the factory will be used:
 
     >>> dynamic.IOne
     <InterfaceClass plone.alterego.tests.dynamic.IOne>
-    
+
 Note that so long as the setattr() call above is executed, the factory is
 called only once. That is, you'll always get the same object each time you
 access a given attribute of the dynamic module.
diff --git a/docs/INSTALL.txt b/docs/INSTALL.txt
index 1eb4e1b..ab9c416 100644
--- a/docs/INSTALL.txt
+++ b/docs/INSTALL.txt
@@ -4,7 +4,7 @@ plone.alterego Installation
 To install plone.alterego into the global Python environment (or a workingenv),
 using a traditional Zope 2 instance, you can do this:
 
- * When you're reading this you have probably already run 
+ * When you're reading this you have probably already run
    ``easy_install plone.alterego``. Find out how to install setuptools
    (and EasyInstall) here:
    http://peak.telecommunity.com/DevCenter/EasyInstall
@@ -20,24 +20,24 @@ Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance
 recipe to manage your project, you can do this:
 
  * Add ``plone.alterego`` to the list of eggs to install, e.g.:
- 
+
     [buildout]
     ...
     eggs =
         ...
         plone.alterego
-        
+
   * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:
-  
+
     [instance]
     recipe = plone.recipe.zope2instance
     ...
     zcml =
         plone.alterego
-        
+
   * Re-run buildout, e.g. with:
-  
+
     $ ./bin/buildout
-        
+
 You can skip the ZCML slug if you are going to explicitly include the package
 from another package's configure.zcml file.
diff --git a/docs/LICENSE.txt b/docs/LICENSE.txt
index 3efd217..4629067 100644
--- a/docs/LICENSE.txt
+++ b/docs/LICENSE.txt
@@ -12,5 +12,5 @@
 
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
   MA 02111-1307 USA.
diff --git a/plone/alterego/alterego.txt b/plone/alterego/alterego.txt
index cd1e949..179ece0 100644
--- a/plone/alterego/alterego.txt
+++ b/plone/alterego/alterego.txt
@@ -13,12 +13,12 @@ Usage
 To use this package, you should:
 
  - Identify an appropriate parent module where the dynamic module will live.
-  
+
  - Ensure that plone.alterego.dynamic.create() is called with this module and
-   a dynamic module name. Typically, you'd do this in the parent module 
+   a dynamic module name. Typically, you'd do this in the parent module
    itself, so that the dynamic module is instantiated as soon as the parent
    module is imported.
-   
+
  - Register a named utility providing IDynamicObjectFactory. The name should
    be the same as the full dotted path to the dynamic module. This utility
    will be responsible for creating the objects that inhabit the dynamic
@@ -27,7 +27,7 @@ To use this package, you should:
 Dynamic interfaces
 ------------------
 
-As an example of using plone.alterego, let's say we have a generic content 
+As an example of using plone.alterego, let's say we have a generic content
 class that should get a unique interface for each instance.
 
     >>> from zope import interface
@@ -65,7 +65,7 @@ We can now import this module:
     >>> dynamic is dynamic_module
     True
 
-However, until we have defined the utility that knows how to construct 
+However, until we have defined the utility that knows how to construct
 objects, we will get an error.
 
     >>> dynamic.IOne # doctest: +ELLIPSIS
@@ -82,7 +82,7 @@ for different dynamic modules.
     >>> from zope.interface.interface import InterfaceClass
     >>> class InterfaceOnDemand(object):
     ...     interface.implements(IDynamicObjectFactory)
-    ...     
+    ...
     ...     def __call__(self, name, module):
     ...         print "Creating", name, "in", module.__name__
     ...         schema = InterfaceClass(name, (interface.Interface,), __module__=module.__name__)
@@ -108,7 +108,7 @@ We could then create an on-demand interface easily:
     Creating ITwo in plone.alterego.tests.dynamic
 
     >>> list(interface.providedBy(c1).flattened()) # doctest: +NORMALIZE_WHITESPACE
-    [<InterfaceClass plone.alterego.tests.dynamic.ITwo>, 
+    [<InterfaceClass plone.alterego.tests.dynamic.ITwo>,
      <InterfaceClass __builtin__.IContent>,
      <InterfaceClass zope.interface.Interface>]
 
@@ -119,6 +119,6 @@ objects will be returned each time the module is accessed.
     >>> del dynamic_module
 
     >>> list(interface.providedBy(c1).flattened()) # doctest: +NORMALIZE_WHITESPACE
-    [<InterfaceClass plone.alterego.tests.dynamic.ITwo>, 
+    [<InterfaceClass plone.alterego.tests.dynamic.ITwo>,
      <InterfaceClass __builtin__.IContent>,
      <InterfaceClass zope.interface.Interface>]
\ No newline at end of file
diff --git a/plone/alterego/dynamic.py b/plone/alterego/dynamic.py
index 1aad446..fee1123 100644
--- a/plone/alterego/dynamic.py
+++ b/plone/alterego/dynamic.py
@@ -10,27 +10,27 @@
 class DynamicModule(module):
     """A module that can create objects on the fly.
     """
-    
+
     implements(IDynamicModule)
 
     def __getattr__(self, name):
-        
+
         if name == '__path__':
             raise AttributeError("Dynamic modules do not have __path__'s")
-        
+
         factory = queryUtility(IDynamicObjectFactory, name=self.__name__)
         if factory is None:
             raise AttributeError("Cannot find dynamic object factory for module %s" % self.__name__)
-        
+
         obj = factory(name, self)
         if obj is None:
             raise AttributeError("Dynamic module factory did not want to create %s in %s" % (name, self.__name__))
 
         return obj
-            
+
 def create(dotted_name):
     dynamic = DynamicModule(dotted_name)
     sys.modules[dotted_name] = dynamic
     return dynamic
-    
+
 __all__ = ('create',)
\ No newline at end of file
diff --git a/plone/alterego/interfaces.py b/plone/alterego/interfaces.py
index e8c8625..68b8c85 100644
--- a/plone/alterego/interfaces.py
+++ b/plone/alterego/interfaces.py
@@ -6,20 +6,20 @@ class IDynamicModule(Interface):
 
 class IDynamicObjectFactory(Interface):
     """A factory capable of creating objects on the fly.
-    
+
     This should be registered as a named utility. The name is the name of
-    the dynamic module. Thus, there is a one-to-one mapping between the 
-    dynamic module as the the 
+    the dynamic module. Thus, there is a one-to-one mapping between the
+    dynamic module as the the
     """
-    
+
     def __call__(name, module):
         """Create an object with the given name in the given (dynamic) module.
-        
+
         This will only be called once for each name. __module__ is the module
-        that the object will live in, and name is the name of the object 
-        itself. That is,  the full dotted name of the generated object will be 
+        that the object will live in, and name is the name of the object
+        itself. That is,  the full dotted name of the generated object will be
         "%s.%s" % (module.__name__, name).
-        
+
         This function should return a new object, or return None, in which
         case the dynamic module will generate an AttributeError. There is
         no need to mess with sys.modules or modify the 'module' object.
diff --git a/plone/alterego/tests.py b/plone/alterego/tests.py
index 2a7445c..3e3bad6 100644
--- a/plone/alterego/tests.py
+++ b/plone/alterego/tests.py
@@ -6,9 +6,9 @@
 
 def test_suite():
     return unittest.TestSuite((
-        
+
         doctest.DocFileSuite('alterego.txt',
                      # setUp=setUp,
                      tearDown=zope.component.testing.tearDown),
-        
+
         ))
\ No newline at end of file




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


More information about the Testbot mailing list