Skip to content

Commit

Permalink
Use public interface for availability check, not an internal flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroel committed Oct 17, 2023
1 parent f2c12a1 commit 8c97385
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plone/rest/tests/test_explicitacquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
import unittest

try:
# noqa: F401
from Products.CMFCore.interfaces import IShouldAllowAcquiredItemPublication
from Products.CMFCore.interfaces import (
IShouldAllowAcquiredItemPublication,
) # noqa: F401

HAS_CMFCORE_32 = True
except ImportError:
Expand Down

0 comments on commit 8c97385

Please sign in to comment.