From dd673bc70667a2b87fc2ffb20606708757b1b645 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 24 Oct 2003 23:13:51 +0000 Subject: [PATCH] Changed splitting on None to pull off the nick to splitting on ' '. --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index fca1d3aae..121a3617d 100755 --- a/test/test.py +++ b/test/test.py @@ -308,7 +308,7 @@ class ChannelPluginTestCase(PluginTestCase): # Strip off nick: at beginning of response. if args[1].startswith(self.nick) or \ args[1].startswith(ircutils.nickFromHostmask(self.prefix)): - args[1] = args[1].split(None, 1)[1] + args[1] = args[1].split(' ', 1)[1] ret = ircmsgs.privmsg(*args) else: ret = response