Also take enablepassword, even if we may not use it
Change-Id: I70d467069f9c66df94d8df4254a3b30a6825c725
diff --git a/drivers/CiscoSX300.py b/drivers/CiscoSX300.py
index 3612b80..99a4beb 100644
--- a/drivers/CiscoSX300.py
+++ b/drivers/CiscoSX300.py
@@ -47,7 +47,7 @@
################################
# Connect to the switch and log in
- def switch_connect(self, username, password):
+ def switch_connect(self, username, password, enablepassword):
logging.debug("Connecting to Switch with: %s" % self.exec_string)
self.connection = pexpect.spawn(self.exec_string, logfile = self.logfile)
self._login(username, password)