Again, run tests before committing.

This commit is contained in:
Jeremy Fincher 2003-04-20 17:57:16 +00:00
parent df66715089
commit 9fee5f17a9

View File

@ -444,11 +444,11 @@ def nick(nick, prefix=''):
def user(ident, user, prefix=''): def user(ident, user, prefix=''):
"""Returns a USER with ident ident and user user.""" """Returns a USER with ident ident and user user."""
assert '\x00' not in user and \ assert '\x00' not in ident and \
'\r' not in user and \ '\r' not in ident and \
'\n' not in user and \ '\n' not in ident and \
' ' not in user and \ ' ' not in ident and \
'@' not in user '@' not in ident
return IrcMsg(prefix=prefix, command='USER', args=(ident, '0', '*', user)) return IrcMsg(prefix=prefix, command='USER', args=(ident, '0', '*', user))
def who(hostmaskOrChannel, prefix=''): def who(hostmaskOrChannel, prefix=''):