~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-09-30 05:09:01 UTC
  • mto: (1185.14.2)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: mbp@sourcefrog.net-20050930050901-82f7e9c7541bd7c6
- better assertion message

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
        In the test suite, creation of new trees is tested using the
228
228
        `ScratchBranch` class.
229
229
        """
230
 
        assert isinstance(transport, Transport)
 
230
        assert isinstance(transport, Transport), \
 
231
            "%r is not a Transport" % transport
231
232
        self._transport = transport
232
233
        if init:
233
234
            self._make_control()