call base _connect() from winrm._connect()

without it, we don't get the base's free become method error check

(cherry picked from commit 445a88d3e8)
This commit is contained in:
nitzmahone 2016-06-10 14:40:29 -07:00
parent 2982b99b8e
commit 467ef193fd

View file

@ -232,6 +232,7 @@ class Connection(ConnectionBase):
self.protocol.cleanup_command(self.shell_id, command_id)
def _connect(self):
super(Connection, self)._connect()
if not self.protocol:
self.protocol = self._winrm_connect()
self._connected = True