Skip to content

Commit

Permalink
Merge pull request #3 from zopefoundation/replace-implements-for-impl…
Browse files Browse the repository at this point in the history
…ementer

Replace the use of `grok.implements()` with the `@grok.implementer()`…
  • Loading branch information
janwijbrand committed Jan 17, 2018
2 parents 4cced46 + 6b10fa8 commit c461fb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGES.txt
Expand Up @@ -4,8 +4,8 @@ CHANGES
3.0.1 (unreleased)
==================

- Nothing changed yet.

- Replace the use of `grok.implements()` with the `@grok.implementer()`
directive throughout.

3.0.0 (2018-01-15)
==================
Expand Down
2 changes: 1 addition & 1 deletion src/grokcore/message/sources.py
Expand Up @@ -4,11 +4,11 @@
from grokcore.message import IMessageSource, PersistentMessage


@grok.implementer(IMessageSource)
class UniqueMessageSource(grok.GlobalUtility):
"""A source that handles a unique message.
"""
grok.baseclass()
grok.implements(IMessageSource)
grok.provides(IMessageSource)

message = None
Expand Down

0 comments on commit c461fb7

Please sign in to comment.