From 9b2f5805dad00695361a32fd1860d83a1368f1af Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 16 May 2012 19:45:45 +0200 Subject: [PATCH] virtual method init_socket --- lib/interface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/interface.py b/lib/interface.py index 723d1f952..e19cccff4 100644 --- a/lib/interface.py +++ b/lib/interface.py @@ -53,6 +53,9 @@ class Interface(threading.Thread): self.responses = Queue.Queue() self.unanswered_requests = {} + def init_socket(self): + pass + def poke(self): # push a fake response so that the getting thread exits its loop self.responses.put(None)