/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: Aaron Bentley
  • Date: 2008-09-08 20:26:41 UTC
  • mfrom: (3696 +trunk)
  • mto: (3363.13.5 extras)
  • mto: This revision was merged to the branch mainline in revision 3715.
  • Revision ID: aaron@aaronbentley.com-20080908202641-7w9dyg04344t262b
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
        self.file_handle.close()
255
255
 
256
256
    def write(self, bytes):
257
 
        self.file_handle.write(bytes)
 
257
        osutils.pump_string_file(bytes, self.file_handle)
258
258
 
259
259
 
260
260
class AppendBasedFileStream(FileStream):
1758
1758
register_lazy_transport('fakenfs+', 'bzrlib.transport.fakenfs',
1759
1759
                        'FakeNFSTransportDecorator')
1760
1760
 
 
1761
register_transport_proto('log+')
 
1762
register_lazy_transport('log+', 'bzrlib.transport.log', 'TransportLogDecorator')
 
1763
 
1761
1764
register_transport_proto('trace+')
1762
1765
register_lazy_transport('trace+', 'bzrlib.transport.trace',
1763
1766
                        'TransportTraceDecorator')