forked from buildbot/buildbot
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
status.words.py: Make Contact a proper IStatusReceiver
Since Contact is an IStatusReceiver, it (and its subclasses) should declare that they implement IStatusReceiver. As well, make Contact inherit from base.StatusReceiver so that the unimplemented IStatusReceiver methods do not need to be stubbed out. Add a note to developer.texinfo saying that this pattern should[*] be followed for all IStatusReceivers. [*] "should" instead of "must" as of 9c2bf24 (make notifications a bit more resilient to missing methods, 2010-02-13) and c79f09b (check for notification methods before calling them, 2010-02-15)
- Loading branch information
1 parent
b0dfe34
commit 673369b
Showing
2 changed files
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters