[Zope3-checkins] CVS: Zope3/src/ZConfig/tests/library/thing -
__init__.py:1.2
Fred L. Drake, Jr.
fred at zope.com
Fri Oct 3 13:12:04 EDT 2003
Update of /cvs-repository/Zope3/src/ZConfig/tests/library/thing
In directory cvs.zope.org:/tmp/cvs-serv8185/library/thing
Modified Files:
__init__.py
Log Message:
Add test that shows ZConfig loading a component from a supplemental directory
in the package __path__.
=== Zope3/src/ZConfig/tests/library/thing/__init__.py 1.1 => 1.2 ===
--- Zope3/src/ZConfig/tests/library/thing/__init__.py:1.1 Fri Oct 3 12:32:11 2003
+++ Zope3/src/ZConfig/tests/library/thing/__init__.py Fri Oct 3 13:11:33 2003
@@ -1 +1,22 @@
-# Make this a package.
+##############################################################################
+#
+# Copyright (c) 2003 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Example of a package that extends its __path__.
+
+$Id$
+"""
+
+import os
+
+here = os.path.dirname(__file__)
+__path__.append(os.path.join(here, "extras"))
More information about the Zope3-Checkins
mailing list