~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-06 16:21:16 UTC
  • mfrom: (1955.3.30 transport_bytes)
  • Revision ID: pqm@pqm.ubuntu.com-20060906162116-90b02cf97bcc11e8
(jam) create Transport.*_{file,bytes}

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
 
285
285
        return combined
286
286
 
287
 
    def put(self, relpath, f, mode=None):
288
 
        """Copy the file-like or string object into the location.
 
287
    def put_file(self, relpath, f, mode=None):
 
288
        """Copy the file-like object into the location.
289
289
 
290
290
        :param relpath: Location to put the contents, relative to base.
291
 
        :param f:       File-like or string object.
 
291
        :param f:       File-like object.
292
292
        """
293
293
        raise TransportNotPossible('http PUT not supported')
294
294
 
300
300
        """See Transport.rmdir."""
301
301
        raise TransportNotPossible('http does not support rmdir()')
302
302
 
303
 
    def append(self, relpath, f):
 
303
    def append_file(self, relpath, f, mode=None):
304
304
        """Append the text in the file-like object into the final
305
305
        location.
306
306
        """