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

Initialize sftp variable to fix error on transferless session

This commit is contained in:
Daniel Hokka Zakrisson 2012-10-26 23:54:21 +02:00
parent 2d3c9452c9
commit 1052dd9c8f

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