~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/_urllib.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-08-30 07:47:38 UTC
  • mfrom: (5394.2.1 integration2)
  • Revision ID: pqm@pqm.ubuntu.com-20100830074738-ymqwum541fi8b4sr
(vila) Fix most of the leaking tests (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
 
100
100
        return response
101
101
 
 
102
    def disconnect(self):
 
103
        connection = self._get_connection()
 
104
        if connection is not None:
 
105
            connection.close()
 
106
 
102
107
    def _get(self, relpath, offsets, tail_amount=0):
103
108
        """See HttpTransport._get"""
104
109
        abspath = self._remote_path(relpath)