Rev 2919: Fix typo in ftp.py making the reconnection fail on temporary errors (154259). in file:///v/home/vila/src/bzr/bugs/154259/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri Oct 19 11:58:24 BST 2007


At file:///v/home/vila/src/bzr/bugs/154259/

------------------------------------------------------------
revno: 2919
revision-id: v.ladeuil+lp at free.fr-20071019105822-eyqh1121x317e5nw
parent: v.ladeuil+lp at free.fr-20071019105321-i0rh34oe1jm0ykzj
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 154259
timestamp: Fri 2007-10-19 12:58:22 +0200
message:
  Fix typo in ftp.py making the reconnection fail on temporary errors (154259).
  
  * bzrlib/transport/ftp.py:
  (FtpTransport._reconnect): Fix typo.
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/transport/ftp.py        ftp.py-20051116161804-58dc9506548c2a53
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2007-10-18 02:48:24 +0000
+++ b/NEWS	2007-10-19 10:58:22 +0000
@@ -109,6 +109,9 @@
    * Fix selftest semi-random noise during http related tests.
      (Vincent Ladeuil, #140614)
 
+   * Fix typo in ftp.py making the reconnection fail on temporary errors.
+     (Vincent Ladeuil, #154259)
+
    * Fix failing test by comparing real paths to cover the case where the TMPDIR
      contains a symbolic link.
      (Vincent Ladeuil, #141382).

=== modified file 'bzrlib/transport/ftp.py'
--- a/bzrlib/transport/ftp.py	2007-10-04 14:43:28 +0000
+++ b/bzrlib/transport/ftp.py	2007-10-19 10:58:22 +0000
@@ -143,7 +143,7 @@
 
     def _reconnect(self):
         """Create a new connection with the previously used credentials"""
-        credentials = self.get_credentials()
+        credentials = self._get_credentials()
         connection, credentials = self._create_connection(credentials)
         self._set_connection(connection, credentials)
 



More information about the bazaar-commits mailing list