[Checkins] SVN: zope.configuration/trunk/src/zope/configuration/interfaces.py Added missing `processFile` method to `IConfigurationContext`.

Baiju M baiju.m.mail at gmail.com
Thu Mar 5 02:04:16 EST 2009


Log message for revision 97518:
  Added missing `processFile` method to `IConfigurationContext`.
  This method is already implemented in mix-in class,
  `zope.configuration.ConfigurationContext`, and used by
  implementations of `include` and `exclude` directives.
  

Changed:
  U   zope.configuration/trunk/src/zope/configuration/interfaces.py

-=-
Modified: zope.configuration/trunk/src/zope/configuration/interfaces.py
===================================================================
--- zope.configuration/trunk/src/zope/configuration/interfaces.py	2009-03-05 06:52:17 UTC (rev 97517)
+++ zope.configuration/trunk/src/zope/configuration/interfaces.py	2009-03-05 07:04:15 UTC (rev 97518)
@@ -74,6 +74,15 @@
         is better than an unlimited number of conflict errors.
         """
 
+    def processFile(filename):
+        """Check whether a file needs to be processed.
+
+        Return True if processing is needed and False otherwise.  If
+        the file needs to be processed, it will be marked as
+        processed, assuming that the caller will procces the file if
+        it needs to be procssed.
+        """
+
     def action(self, discriminator, callable, args=(), kw={}, order=0):
         """Record a configuration action
 



More information about the Checkins mailing list