/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Robert Collins
  • Date: 2007-09-27 21:11:38 UTC
  • mfrom: (2871 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2879.
  • Revision ID: robertc@robertcollins.net-20070927211138-ebsu1bo1qz9f1w8n
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
406
406
        """
407
407
        assert not isinstance(from_file, basestring), \
408
408
            '_pump should only be called on files not %s' % (type(from_file,))
409
 
        osutils.pumpfile(from_file, to_file)
 
409
        return osutils.pumpfile(from_file, to_file)
410
410
 
411
411
    def _get_total(self, multi):
412
412
        """Try to figure out how many entries are in multi,
794
794
        :param f:       File-like object.
795
795
        :param mode: The mode for the newly created file,
796
796
                     None means just use the default.
 
797
        :return: The length of the file that was written.
797
798
        """
798
799
        # We would like to mark this as NotImplemented, but most likely
799
800
        # transports have defined it in terms of the old api.