Initialize sftp variable to fix error on transferless session

pull/4420/head
Daniel Hokka Zakrisson 2012-10-26 23:54:21 +02:00
parent 2d3c9452c9
commit 1052dd9c8f
1 changed files with 1 additions and 0 deletions

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