projects
/
ncclient
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
abfee8f
)
bugfix -- ssh delimiter parsing
author
Shikhar Bhushan
<shikhar@schmizz.net>
Sun, 2 Aug 2009 19:56:17 +0000
(19:56 +0000)
committer
Shikhar Bhushan
<shikhar@schmizz.net>
Sun, 2 Aug 2009 19:56:17 +0000
(19:56 +0000)
git-svn-id: http://ncclient.googlecode.com/svn/trunk@172
6dbcf712
-26ac-11de-a2f3-
1373824ab735
ncclient/transport/ssh.py
patch
|
blob
|
history
diff --git
a/ncclient/transport/ssh.py
b/ncclient/transport/ssh.py
index
8aa56c7
..
3c6a8c7
100644
(file)
--- a/
ncclient/transport/ssh.py
+++ b/
ncclient/transport/ssh.py
@@
-86,6
+86,7
@@
class SSHSession(Session):
elif x == delim[expect]: # what we expected
expect += 1 # expect the next delim char
else:
+ expect = 0
continue
# loop till last delim char expected, break if other char encountered
for i in range(expect, n):