[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services - ConfigurationInterfaces.py:1.5

Viktorija Zaksiene ryzaja@codeworks.lt
Mon, 9 Dec 2002 10:14:04 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services
In directory cvs.zope.org:/tmp/cvs-serv21450/lib/python/Zope/App/OFS/Services

Modified Files:
	ConfigurationInterfaces.py 
Log Message:
Fixed a typo
Added a forgotten default argument to IConfigurable.queryConfigurationsFor


=== Zope3/lib/python/Zope/App/OFS/Services/ConfigurationInterfaces.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ConfigurationInterfaces.py:1.4	Sat Dec  7 12:23:48 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ConfigurationInterfaces.py	Mon Dec  9 10:14:03 2002
@@ -50,7 +50,7 @@
     decision, such as registering an adapter or defining a permission.
 
     In addition to the attributes or methods defined here,
-    configuration objecvts will include additional attributes
+    configuration objects will include additional attributes
     identifying how they should be used. For example, a service
     configuration will provide a service type. An adapter
     configuration will specify a used-for interface and a provided
@@ -154,7 +154,7 @@
 
 class IConfigurable(Interface):
 
-    def queryConfigurationsFor(configuration):
+    def queryConfigurationsFor(configuration, default=None):
         """Return an IConfigurationRegistry for the configuration
 
         Data on the configuration is used to decide which registry to
@@ -181,5 +181,4 @@
         implement a method named createConfigurations, which takes
         arguments for each of the parameters needed to specify a set
         of configurations.
-
         """