Skip to content

Commit

Permalink
Import safe_encode from imio.pyutils instead imio.helpers.
Browse files Browse the repository at this point in the history
See #MOD-985
  • Loading branch information
gbastien committed Mar 28, 2024
1 parent 1f0dfcb commit 39d3f64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Changelog

- Corrected behavior zcml definition to avoid message when Plone starts.
[sgeulette]
- Import `safe_encode` from `imio.pyutils` instead `imio.helpers`.
[gbastien]

1.48 (2024-02-19)
-----------------
Expand Down
3 changes: 2 additions & 1 deletion src/collective/contact/plonegroup/browser/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

from collective.contact.plonegroup import _
from collective.contact.plonegroup.config import DEFAULT_DIRECTORY_ID
from collective.contact.plonegroup.config import get_registry_functions
Expand All @@ -14,8 +15,8 @@
from collective.z3cform.datagridfield.registry import DictRow
from imio.helpers.cache import get_cachekey_volatile
from imio.helpers.cache import invalidate_cachekey_volatile_for
from imio.helpers.content import safe_encode
from imio.helpers.content import uuidToObject
from imio.pyutils.utils import safe_encode
from operator import attrgetter
from plone import api
from plone.api.exc import InvalidParameterError
Expand Down

0 comments on commit 39d3f64

Please sign in to comment.