Typo fix. Formally Resolves #1122.

This commit is contained in:
Griatch 2016-11-26 02:30:49 +01:00
parent ac73f59ed6
commit fa33464266

View file

@ -187,8 +187,8 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
# this is an ancient type of keepalive used by some # this is an ancient type of keepalive used by some
# legacy clients. There should never be a reason to send a # legacy clients. There should never be a reason to send a
# lone NULL character so this seems to be a safe thing to # lone NULL character so this seems to be a safe thing to
# support for # backwards compatibility. It also stops the # support for backwards compatibility. It also stops the
# NULL to continously pop up as an unknown command. # NULL from continously popping up as an unknown command.
data = [_IDLE_COMMAND] data = [_IDLE_COMMAND]
else: else:
data = _RE_LINEBREAK.split(data) data = _RE_LINEBREAK.split(data)