Revision d0296fee
b/src/session.py | ||
---|---|---|
42 | 42 |
self.id = id |
43 | 43 |
self.capabilities[SERVER] = capabilities |
44 | 44 |
self.initialised = True |
45 |
else: |
|
45 |
else: # there was an error in parsing or such
|
|
46 | 46 |
raise ValueError |
47 | 47 |
|
48 | 48 |
def _greet(self): |
b/src/ssh.py | ||
---|---|---|
80 | 80 |
self._inBuf += data |
81 | 81 |
(before, _, after) = self._inBuf.partition(MSG_DELIM) |
82 | 82 |
if after: |
83 |
# we don't want this thread to ground to a halt |
|
84 |
# because of an error dispatching one reply... |
|
85 |
try: self.dispatch('reply', before) |
|
86 |
except: pass |
|
83 |
self.dispatch('reply', before) |
|
87 | 84 |
self._inBuf = after |
88 | 85 |
else: |
89 | 86 |
self.dispatch('error', self._inBuf) |
Also available in: Unified diff