Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit bcf76bee3d334cf1db7b9bd864f25a385ab7de44 1 parent dd4db71
@tomprince tomprince authored
View
2  master/buildbot/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
View
4 master/buildbot/test/unit/test_status_words.py
@@ -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}")
Please sign in to comment.
Something went wrong with that request. Please try again.