[entropy.transceivers] fix ftp connection upload connection destruction

This commit is contained in:
Fabio Erculiani
2009-11-14 00:52:44 +01:00
parent 127eaf49dc
commit 03296e4fda
+2 -2
View File
@@ -1089,7 +1089,8 @@ class FtpInterface:
def cb(x):
if x == filename: xx.append(x)
self.__ftpconn.retrlines('NLST', cb)
if xx: return True
if xx:
return True
return False
def delete_file(self, file):
@@ -1135,7 +1136,6 @@ class FtpInterface:
self._update_speed()
self.updateProgress()
self._speed_limit_loop()
conn.close()
# that's another workaround
#return "226"