[Zope3-checkins]
SVN: Zope3/branches/philikon-reduce-zcml/src/zope/app/schema/__init__.py
We need to import the vocabulary.py module explicitly to make
sure the
Philipp von Weitershausen
philikon at philikon.de
Sun Feb 26 16:02:32 EST 2006
Log message for revision 65503:
We need to import the vocabulary.py module explicitly to make sure the
vocabulary registry gets registered. There's no guarantee that someone
else will import it for us.
Changed:
UU Zope3/branches/philikon-reduce-zcml/src/zope/app/schema/__init__.py
-=-
Modified: Zope3/branches/philikon-reduce-zcml/src/zope/app/schema/__init__.py
===================================================================
--- Zope3/branches/philikon-reduce-zcml/src/zope/app/schema/__init__.py 2006-02-26 21:01:12 UTC (rev 65502)
+++ Zope3/branches/philikon-reduce-zcml/src/zope/app/schema/__init__.py 2006-02-26 21:02:31 UTC (rev 65503)
@@ -1 +1,20 @@
-# Make this a Python package.
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (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.
+#
+##############################################################################
+"""Schemas
+
+$Id$
+"""
+# we want to hook-up our own vocabulary registry; importing the module
+# is enough for that
+import zope.app.schema.vocabulary
Property changes on: Zope3/branches/philikon-reduce-zcml/src/zope/app/schema/__init__.py
___________________________________________________________________
Name: svn:keywords
+ Id
More information about the Zope3-Checkins
mailing list