Skip to content

Commit

Permalink
Move IVocabularyFactory to zope.schema.interfaces.
Browse files Browse the repository at this point in the history
Note that this doesn't require BBB. IVocabularyFactory's location at
zope.app.schema.interfaces was introduced only a month back, therefore
never released.
  • Loading branch information
philikon committed Apr 7, 2006
1 parent 3e7d37b commit d5ee13c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions browser/vocabulary.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
##############################################################################
#
# 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.
#
##############################################################################
"""Browser vocabularies
$Id$
"""
from zope.interface import classProvides
from zope.publisher.interfaces.browser import IBrowserSkinType
from zope.schema.interfaces import IVocabularyFactory
from zope.app.component.vocabulary import UtilityVocabulary

class BrowserSkinsVocabulary(UtilityVocabulary):
classProvides(IVocabularyFactory)
interface = IBrowserSkinType

0 comments on commit d5ee13c

Please sign in to comment.