~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weave.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-04 18:47:59 UTC
  • mfrom: (6475.2.3 544054-serve-port)
  • Revision ID: pqm@pqm.ubuntu.com-20120304184759-kpae3rpzzscn4vjm
(jelmer) Split the --port option into --listen and --port. (Ross Lagerwall)

Show diffs side-by-side

added added

removed removed

Lines of Context:
920
920
        self._transport = transport
921
921
        self._filemode = filemode
922
922
        try:
923
 
            _read_weave_v5(self._transport.get(name + WeaveFile.WEAVE_SUFFIX), self)
 
923
            f = self._transport.get(name + WeaveFile.WEAVE_SUFFIX)
 
924
            _read_weave_v5(StringIO(f.read()), self)
924
925
        except errors.NoSuchFile:
925
926
            if not create:
926
927
                raise