~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_index.py

  • Committer: Jonathan Riddell
  • Date: 2011-05-16 11:27:37 UTC
  • mto: This revision was merged to the branch mainline in revision 5869.
  • Revision ID: jriddell@canonical.com-20110516112737-gep642p24rtzp3jt
userĀ guideĀ licence

Show diffs side-by-side

added added

removed removed

Lines of Context:
389
389
        for key, value, references in nodes:
390
390
            builder.add_node(key, value, references)
391
391
        stream = builder.finish()
392
 
        trans = transport.get_transport_from_url('trace+' + self.get_url())
 
392
        trans = transport.get_transport('trace+' + self.get_url())
393
393
        size = trans.put_file('index', stream)
394
394
        return index.GraphIndex(trans, 'index', size)
395
395