[Zope3-checkins] CVS: Zope3/src/zope - __init__.py:1.4

Fred L. Drake, Jr. fred at zope.com
Tue Apr 6 15:25:16 EDT 2004


Update of /cvs-repository/Zope3/src/zope
In directory cvs.zope.org:/tmp/cvs-serv21588

Modified Files:
	__init__.py 
Log Message:
allow the "zope" package to be multi-homed


=== Zope3/src/zope/__init__.py 1.3 => 1.4 ===
--- Zope3/src/zope/__init__.py:1.3	Fri Feb 20 11:56:45 2004
+++ Zope3/src/zope/__init__.py	Tue Apr  6 15:25:15 2004
@@ -1,5 +1,23 @@
+##############################################################################
+#
+# Copyright (c) 2004 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.
+#
+##############################################################################
 #
 # This file is necessary to make this directory a package.
+
+import pkgutil
+
+__path__ = pkgutil.extend_path(__path__, __name__)
+del pkgutil
 
 # XXX Evil monkey patch of weakref to avoid a Python 2.3.3 weakref bug that
 # causes sporadic segfaults




More information about the Zope3-Checkins mailing list