3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

relay: minor typo in error message

This commit is contained in:
James Lu 2015-09-09 20:53:04 -07:00
parent 29065fdd04
commit 7f526267ec

View File

@ -80,7 +80,7 @@ def normalizeNick(irc, netname, nick, separator=None, uid=''):
nick = normalizeNick(irc, netname, orig_nick, separator=new_sep) nick = normalizeNick(irc, netname, orig_nick, separator=new_sep)
finalLength = len(nick) finalLength = len(nick)
assert finalLength <= maxnicklen, "Normalized nick %r went over max " \ assert finalLength <= maxnicklen, "Normalized nick %r went over max " \
"nick length (got: %s, allowed: %s!" % (nick, finalLength, maxnicklen) "nick length (got: %s, allowed: %s!)" % (nick, finalLength, maxnicklen)
return nick return nick