[entropy.transceivers] EntropyFtpUriHandler: fix undefined reference

This commit is contained in:
Fabio Erculiani
2011-08-21 14:16:23 +02:00
parent 1446115d33
commit a61f6b99cc

View File

@@ -498,7 +498,7 @@ class EntropyFtpUriHandler(EntropyUriHandler):
"""
resp = self.__ftpconn.sendcmd('CPFR ' + fromname)
if resp[0] != '3':
raise ftplib.error_reply, resp
raise self.ftplib.error_reply, resp
return self.__ftpconn.voidcmd('CPTO ' + toname)
def copy(self, remote_path_old, remote_path_new):