some code-analysis reclamations fixed.
code-analysis OK up to: T100, S100, S101, C815, C812
This commit is contained in:
@@ -324,8 +324,8 @@ else:
|
||||
return conversationAdapterFactory(content)
|
||||
|
||||
|
||||
@adapter(Conversation) # relies on implementation details
|
||||
@implementer(IReplies)
|
||||
@adapter(Conversation) # relies on implementation details
|
||||
class ConversationReplies(object):
|
||||
"""An IReplies adapter for conversations.
|
||||
|
||||
@@ -400,8 +400,8 @@ class ConversationReplies(object):
|
||||
return self.conversation._children.get(self.comment_id, LLSet())
|
||||
|
||||
|
||||
@adapter(Comment)
|
||||
@implementer(IReplies)
|
||||
@adapter(Comment)
|
||||
class CommentReplies(ConversationReplies):
|
||||
"""An IReplies adapter for comments.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user