some code-analysis reclamations fixed.

code-analysis OK up to: T100, S100, S101, C815, C812
This commit is contained in:
Katja Süss
2017-07-29 11:35:15 +02:00
parent 100690ccdf
commit b08852baa0
5 changed files with 8 additions and 12 deletions
+2 -2
View File
@@ -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.