Fix flake8

This commit is contained in:
Valentin Chemiere 2015-03-17 13:46:06 +01:00
parent 8b86e15bef
commit ff3c2735e6

View File

@ -128,7 +128,7 @@ class SftpImportTask(SftpTask):
def run(self): def run(self):
ssh = paramiko.SSHClient() ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh_conn = ssh.connect(self.host, self.port, ssh.connect(self.host, self.port,
username=self.user, password=self.pwd) username=self.user, password=self.pwd)
ftp_conn = ssh.open_sftp() ftp_conn = ssh.open_sftp()
path = self.path or '.' path = self.path or '.'