~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-09-17 20:54:27 UTC
  • mfrom: (2826.1.1 bzr.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070917205427-yt8z43qj0756so3p
Fix #140055 by properly closing test servers

Show diffs side-by-side

added added

removed removed

Lines of Context:
586
586
 
587
587
    def tearDown(self):
588
588
        """See bzrlib.transport.Server.tearDown."""
589
 
        # have asyncore release the channel
590
 
        self._ftp_server.del_channel()
 
589
        self._ftp_server.close()
591
590
        asyncore.close_all()
592
591
        self._async_thread.join()
593
592