Skip to content

Commit

Permalink
Replace the use of grok.implements() with the @grok.implementer()
Browse files Browse the repository at this point in the history
… directive throughout.
  • Loading branch information
janwijbrand committed Jan 17, 2018
1 parent 4cced46 commit 6b10fa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 6b10fa8

Please sign in to comment.