[Zope3-checkins] CVS: Zope3/src/zope/configuration/tests - test_simple.py:1.3
Jim Fulton
jim@zope.com
Thu, 31 Jul 2003 11:50:08 -0400
Update of /cvs-repository/Zope3/src/zope/configuration/tests
In directory cvs.zope.org:/tmp/cvs-serv19600
Modified Files:
test_simple.py
Log Message:
Added a note pointing out that there was nothing magic about the
FileInfo class.
=== Zope3/src/zope/configuration/tests/test_simple.py 1.2 => 1.3 ===
--- Zope3/src/zope/configuration/tests/test_simple.py:1.2 Wed Jul 30 10:53:01 2003
+++ Zope3/src/zope/configuration/tests/test_simple.py Thu Jul 31 11:50:03 2003
@@ -97,6 +97,11 @@
callable. In function ``registerFile``, we pass a tuple containing a
``FileInfo`` object.
+ (Note that there's nothing special about the FileInfo class. It has
+ nothing to do with creating simple directives. It's just used in
+ this example to organize the application data.)
+
+
The final step in implementing the simple directive is to register
it. We do that with the zcml ``meta:directive`` directive. This is
given in the file simple.zcml. Here we specify the name, namespace,