From 36309a4cf2040700c1652e5c75c0fbc511c5f7c1 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Tue, 6 Feb 2018 10:40:12 +0000 Subject: [PATCH] target/assistant: Fix logcat poller Rename the `start` method to `run` as this is what is what is called by the threading module's `start` method, otherwise this causes the polling to be done in the main thread blocking execution. --- wa/framework/target/assistant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wa/framework/target/assistant.py b/wa/framework/target/assistant.py index 599c719b..18b24c38 100644 --- a/wa/framework/target/assistant.py +++ b/wa/framework/target/assistant.py @@ -104,7 +104,7 @@ class LogcatPoller(threading.Thread): self.daemon = True self.exc = None - def start(self): + def run(self): self.logger.debug('starting polling') try: while True: