|
From: | Nicolas Aspert |
Subject: | Re: [Duplicity-talk] more polished backends.py/ftpBackend (was: 0.4.3.RC3 Ready for Test) |
Date: | Fri, 01 Jun 2007 12:51:11 +0200 |
User-agent: | Thunderbird 2.0.0.0 (Windows/20070326) |
Hello Daniel dAniel hAhler wrote: > Please find attached a new backends.py file and a patch against CVS HEAD: > - use self.ftp.quit() in self.close() > - use close() in connect() and only "pass" for ftplib.all_errors exceptions > - Log FTP command in the retry-loop - so the used comment gets logged > also when retrying > - Optimized "nlst" check > - Removed handling of 221/421 errors - this should get handled now in > general > - Whitespace fixes for log.FatalError; also print stack with the last one > - Do not sleep on the first retry: this avoids a 10 seconds delay on > e.g. EOFError > - Just call connect() if we expect to be logged in; moved this out of > the try block > I'll give this patch a try (this week-end) and report on monday about how it went. a+ Nicolas
[Prev in Thread] | Current Thread | [Next in Thread] |