[Checkins] SVN: zc.configuration/trunk/src/zc/configuration/zcml.py add comment that explains apparently insane code ; )

Benji York benji at zope.com
Mon Oct 20 11:19:27 EDT 2008


Log message for revision 92405:
  add comment that explains apparently insane code ;)
  

Changed:
  U   zc.configuration/trunk/src/zc/configuration/zcml.py

-=-
Modified: zc.configuration/trunk/src/zc/configuration/zcml.py
===================================================================
--- zc.configuration/trunk/src/zc/configuration/zcml.py	2008-10-20 13:32:46 UTC (rev 92404)
+++ zc.configuration/trunk/src/zc/configuration/zcml.py	2008-10-20 15:19:25 UTC (rev 92405)
@@ -42,4 +42,8 @@
         paths = [context.path(file)]
 
     for path in paths:
+        # processFile returns a boolean indicating if the file has been
+        # processed or not, it *also* marks the file as having been processed,
+        # here the side effect is used to keep the given file from being
+        # processed in the future
         context.processFile(path)



More information about the Checkins mailing list