Skip to content

Commit

Permalink
We need to import the vocabulary.py module explicitly to make sure the
Browse files Browse the repository at this point in the history
vocabulary registry gets registered. There's no guarantee that someone
else will import it for us.
  • Loading branch information
philikon committed Feb 26, 2006
1 parent e44e6b8 commit 0f7ae82
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions __init__.py
@@ -0,0 +1,20 @@
##############################################################################
#
# 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

0 comments on commit 0f7ae82

Please sign in to comment.