1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #1460 from dhozac/init-sftp-paramiko

Initialize sftp variable to fix error on transferless session
This commit is contained in:
Michael DeHaan 2012-10-26 14:59:10 -07:00
commit 03f303fba3

View file

@ -45,6 +45,7 @@ class Connection(object):
def __init__(self, runner, host, port=None):
self.ssh = None
self.sftp = None
self.runner = runner
self.host = host
self.port = port