--- a/src/pyams_content/features/review/__init__.py Mon Jun 11 08:44:19 2018 +0200
+++ b/src/pyams_content/features/review/__init__.py Mon Jun 11 08:51:03 2018 +0200
@@ -22,7 +22,6 @@
from pyams_content.interfaces import READER_ROLE
from pyams_content.features.review.interfaces import IReviewManager, IReviewComment, IReviewComments, \
REVIEW_COMMENTS_ANNOTATION_KEY, CommentAddedEvent, ICommentAddedEvent, IReviewTarget
-from pyams_content.shared.common.interfaces import IWfSharedContentRoles
from pyams_i18n.interfaces import II18n
from pyams_mail.interfaces import IPrincipalMailInfo
from pyams_security.interfaces import ISecurityManager, IProtectedObject
@@ -124,6 +123,8 @@
def ask_review(self, reviewers, comment, notify_all=True):
"""Ask for content review"""
+ from pyams_content.shared.common.interfaces import IWfSharedContentRoles
+
roles = IWfSharedContentRoles(self.context, None)
if roles is None:
return