Fix up drivers - we're now using self.logger to wrap pexpect
Change-Id: I531a886c535d3e92a16158f102494f596cf6666c
diff --git a/drivers/TPLinkTLSG2XXX.py b/drivers/TPLinkTLSG2XXX.py
index 37d81cb..32afdd4 100644
--- a/drivers/TPLinkTLSG2XXX.py
+++ b/drivers/TPLinkTLSG2XXX.py
@@ -385,7 +385,7 @@
self.connection = None
logging.debug("Connecting to Switch with: %s", self.exec_string)
- self.connection = pexpect.spawn(self.exec_string, logfile = self.logfile)
+ self.connection = pexpect.spawn(self.exec_string, logfile=self.logger)
self._login()
# No way to avoid paged output on this switch AFAICS