From 925fccb4f9bd69205e5d0f44c2c41f025d587745 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Wed, 7 Dec 2016 17:40:30 +0000 Subject: [PATCH] LocalConnection: remove unused timeout parameter `timeout` parameter passed to LocalConnection gets assigned to an instance variable, however it is not used for anything. --- devlib/host.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devlib/host.py b/devlib/host.py index 80c96b4..d95243c 100644 --- a/devlib/host.py +++ b/devlib/host.py @@ -28,9 +28,8 @@ class LocalConnection(object): name = 'local' - def __init__(self, timeout=10, keep_password=True, unrooted=False, password=None): + def __init__(self, keep_password=True, unrooted=False, password=None): self.logger = logging.getLogger('local_connection') - self.timeout = timeout self.keep_password = keep_password self.unrooted = unrooted self.password = password