First attempt at connecting with existing architecture
This commit is contained in:
1 parent
18222420ee
commit
74ba9364f4
9 files changed
+463
-320
No files matched your search
@@ -810,7 +810,7 @@ class VirtualPrinter(object):
|
||||
self._logger.info("Incoming queue is full, raising SerialTimeoutException")
|
||||
raise SerialTimeoutException()
|
||||
|
||||
def readline(self):
|
||||
def read(self, size=None):
|
||||
if self._debug_drop_connection:
|
||||
raise SerialTimeoutException()
|
||||
|
||||
@@ -822,6 +822,9 @@ class VirtualPrinter(object):
|
||||
except Queue.Empty:
|
||||
return ""
|
||||
|
||||
def readline(self):
|
||||
return self.read()
|
||||
|
||||
def close(self):
|
||||
self.incoming = None
|
||||
self.outgoing = None
|
||||
|
||||
Reference in new issue
Block a user