Skip to content

Commit

Permalink
Removes a DeprecationWarning about CatalogVocabularyFactory import
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed May 2, 2024
1 parent d867d25 commit 7e23dcd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions news/454.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed DeprecationWarning from CatalogVocabularyFactory import. [@jensens]
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,22 @@
include_package_data=True,
zip_safe=False,
install_requires=[
"plone.i18n>=4.0.4",
"setuptools",
"BTrees",
"Products.CMFCore",
"Products.CMFPlone",
"Products.GenericSetup",
"Products.statusmessages",
"Zope",
"plone.app.content",
"plone.app.contentmenu",
"plone.app.dexterity",
"plone.app.event",
"plone.app.i18n",
"plone.app.layout",
"plone.app.querystring",
"plone.app.registry",
"plone.app.uuid",
"plone.app.vocabularies",
"plone.app.z3cform",
"plone.autoform",
"plone.base",
"plone.behavior",
"plone.dexterity",
"plone.i18n>=4.0.4",
"plone.indexer",
"plone.locking",
"plone.memoize",
Expand All @@ -43,12 +37,18 @@
"plone.supermodel",
"plone.uuid",
"plone.z3cform",
"Products.CMFCore",
"Products.CMFPlone",
"Products.GenericSetup",
"Products.statusmessages",
"setuptools",
"z3c.form",
"z3c.relationfield",
"zc.relation",
"zope.browsermenu",
"zope.intid",
"zope.pagetemplate",
"Zope",
],
extras_require={
"test": [
Expand Down
2 changes: 1 addition & 1 deletion src/plone/app/multilingual/browser/vocabularies.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from plone.app.multilingual.browser.utils import is_language_independent
from plone.app.multilingual.interfaces import ITranslationManager
from plone.app.vocabularies.catalog import CatalogVocabularyFactory
from plone.app.querystring.vocabularies import CatalogVocabularyFactory
from plone.base.interfaces import ILanguage
from plone.i18n.locales.interfaces import ILanguageAvailability
from Products.CMFCore.utils import getToolByName
Expand Down

0 comments on commit 7e23dcd

Please sign in to comment.