Browse Source

interface: close wire is response is not dict

master
ThomasV 9 years ago
parent
commit
7daa8ebfdd
  1. 3
      lib/interface.py

3
lib/interface.py

@ -313,8 +313,9 @@ class Interface(util.PrintError):
response = self.pipe.get() response = self.pipe.get()
except util.timeout: except util.timeout:
break break
if response is None: if not type(response) is dict:
responses.append((None, None)) responses.append((None, None))
if response is None:
self.closed_remotely = True self.closed_remotely = True
self.print_error("connection closed remotely") self.print_error("connection closed remotely")
break break

Loading…
Cancel
Save