Permalink
Browse files

Use t.w.p.irc.IRCClient.describe instead of .me.

me was deprecated in twisted 9.0 and removed in 11.1.
  • Loading branch information...
1 parent dd4db71 commit bcf76bee3d334cf1db7b9bd864f25a385ab7de44 @tomprince tomprince committed Apr 9, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 master/buildbot/status/words.py
  2. +2 −2 master/buildbot/test/unit/test_status_words.py
@@ -703,7 +703,7 @@ def send(self, message):
def act(self, action):
if not self.muted:
- self.bot.me(self.dest, action.encode("ascii", "replace"))
+ self.bot.describe(self.dest, action.encode("ascii", "replace"))
# main dispatchers for incoming messages
@@ -155,9 +155,9 @@ def msgOrNotice(dest, msg):
def test_act(self):
events = []
- def me(dest, msg):
+ def describe(dest, msg):
events.append((dest, msg))
- self.contact.bot.me = me
+ self.contact.bot.describe = describe
self.contact.act("unmuted")
self.contact.act(u"unmuted, unicode \N{SNOWMAN}")

0 comments on commit bcf76be

Please sign in to comment.