1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-07 05:30:44 +00:00

LocalConnection: Add ignored platform param to __init__ method

This parameter is used by the other connection classes and as of
21f40035d785 ("gem5: Small tweaks in target to allow gem5 simulations") is
passed by to the connection class constructor via expansion of
Target.connection_settings (see Target.get_connection)
This commit is contained in:
Brendan Jackman 2017-02-14 11:30:32 +00:00
parent 28891a822b
commit 680406bc37

View File

@ -29,8 +29,8 @@ class LocalConnection(object):
name = 'local'
def __init__(self, keep_password=True, unrooted=False, password=None,
timeout=None):
def __init__(self, platform=None, keep_password=True, unrooted=False,
password=None, timeout=None):
self.logger = logging.getLogger('local_connection')
self.keep_password = keep_password
self.unrooted = unrooted