Commit bdf6d974 authored by liuzheng712's avatar liuzheng712

test

parent 1ac9bebb
...@@ -384,6 +384,9 @@ class SshTty(Tty): ...@@ -384,6 +384,9 @@ class SshTty(Tty):
if self.channel in r: if self.channel in r:
try: try:
x = self.channel.recv(10240) x = self.channel.recv(10240)
print x
print '===='
print len(x)
if len(x) == 0: if len(x) == 0:
break break
if self.vim_flag: if self.vim_flag:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment