@ -473,10 +473,6 @@ class Gateway():
#===============================================================================
def shutdown(self):
self.ssh_close()
try:
self.ftp.quit()
except Exception:
pass
self.ftp.close()
@ -858,10 +854,6 @@ class Gateway():
ret = -1
finally:
if ftp:
ftp.quit()
ftp.close()