~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2010-08-20 09:52:25 UTC
  • mto: This revision was merged to the branch mainline in revision 5385.
  • Revision ID: v.ladeuil+lp@free.fr-20100820095225-wijo4emfgvtmu2ku
BzrRemoveChangedFilesError is deprecated in 2.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2010 Canonical Ltd
 
1
# Copyright (C) 2006 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
128
128
            self._set_connection(connection, auth)
129
129
        return connection
130
130
 
131
 
    def disconnect(self):
132
 
        connection = self._get_connection()
133
 
        if connection is not None:
134
 
            connection.close()
135
 
 
136
131
    def has(self, relpath):
137
132
        """See Transport.has()"""
138
133
        # We set NO BODY=0 in _get_full, so it should be safe