~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp.py

  • Committer: Matthieu Moy
  • Date: 2006-01-30 16:38:16 UTC
  • mto: (1185.50.62 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: Matthieu.Moy@imag.fr-20060130163816-887c6d44b41ce3be
One 1 -> _number_of_retries was missing

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
                self._FTP_instance = None
242
242
                self.put(relpath, fp, mode, retries+1)
243
243
        except EOFError:
244
 
            if retries > 1:
 
244
            if retries > _number_of_retries:
245
245
                raise
246
246
            else:
247
247
                warning("FTP connection closed. Trying to reopen.")