[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/ Remove trailing spaces.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Sep 16 16:28:02 EDT 2005


Log message for revision 38494:
  Remove trailing spaces.
  

Changed:
  U   Zope3/trunk/src/zope/component/__init__.py
  U   Zope3/trunk/src/zope/component/site.py

-=-
Modified: Zope3/trunk/src/zope/component/__init__.py
===================================================================
--- Zope3/trunk/src/zope/component/__init__.py	2005-09-16 20:26:20 UTC (rev 38493)
+++ Zope3/trunk/src/zope/component/__init__.py	2005-09-16 20:28:02 UTC (rev 38494)
@@ -240,7 +240,7 @@
         return None
     return sitemanager.queryAdapter(object, interface, name, default)
 
-# Make the component architecture's adapter hook hookable 
+# Make the component architecture's adapter hook hookable
 adapter_hook = hookable(adapter_hook)
 
 import zope.interface.interface
@@ -270,7 +270,7 @@
 # Factories
 
 def createObject(__factory_name, *args, **kwargs):
-    # BBB: Goes away in 3.3 
+    # BBB: Goes away in 3.3
     if not isinstance(__factory_name, basestring):
         import warnings
         warnings.warn(
@@ -282,7 +282,7 @@
         __factory_name, args = args[0], args[1:]
     else:
         context = kwargs.pop('context', None)
-    
+
     return getUtility(IFactory, __factory_name, context)(*args, **kwargs)
 
 def getFactoryInterfaces(name, context=None):
@@ -328,7 +328,7 @@
             adapts = factory.__component_adapts__
         except AttributeError:
             raise TypeError("Missing 'adapts' argument")
-            
+
     getGlobalSiteManager().provideAdapter(adapts, provides, name, factory)
 
 def provideSubscriptionAdapter(factory, adapts=None, provides=None):
@@ -344,7 +344,7 @@
             adapts = factory.__component_adapts__
         except AttributeError:
             raise TypeError("Missing 'adapts' argument")
-            
+
     getGlobalSiteManager().subscribe(adapts, provides, factory)
 
 def provideHandler(factory, adapts=None):
@@ -354,5 +354,5 @@
             adapts = factory.__component_adapts__
         except AttributeError:
             raise TypeError("Missing 'adapts' argument")
-            
+
     getGlobalSiteManager().subscribe(adapts, None, factory)

Modified: Zope3/trunk/src/zope/component/site.py
===================================================================
--- Zope3/trunk/src/zope/component/site.py	2005-09-16 20:26:20 UTC (rev 38493)
+++ Zope3/trunk/src/zope/component/site.py	2005-09-16 20:28:02 UTC (rev 38494)
@@ -33,7 +33,7 @@
 
         :Parameters:
           - `required`: a sequence of specifications for objects to be
-             adapted. 
+             adapted.
           - `provided`: The interface provided by the adapter
           - `name`: The adapter name
           - `factory`: The object used to compute the adapter
@@ -45,7 +45,7 @@
 
         :Parameters:
           - `required`: a sequence of specifications for objects to be
-             adapted. 
+             adapted.
           - `provided`: The interface provided by the adapter
           - `name`: The adapter name
           - `factory`: The object used to compute the subscriber
@@ -73,7 +73,7 @@
         """See ISiteManager interface"""
         return self.adapters.queryMultiAdapter(objects, interface, name,
                                                default)
-    
+
     def getAdapters(self, objects, provided):
         """See ISiteManager interface"""
         result = []
@@ -87,7 +87,7 @@
     def subscribers(self, required, provided):
         """See ISiteManager interface"""
         return self.adapters.subscribers(required, provided)
-    
+
     def queryUtility(self, interface, name='', default=None):
         """See ISiteManager interface"""
 
@@ -272,7 +272,7 @@
        self.__parent__ = parent
        self.__name__ = name
        super(GlobalAdapterRegistry, self).__init__()
-    
+
     def __reduce__(self):
         return GAR, (self.__parent__, self.__name__)
 



More information about the Zope3-Checkins mailing list