~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remotebranch.py

  • Committer: Martin Pool
  • Date: 2005-05-30 01:57:04 UTC
  • Revision ID: mbp@sourcefrog.net-20050530015704-3d9faf26f83be456
- make RemoteBranch.__str__ more robust

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        self.text_store = RemoteStore(baseurl + '/.bzr/text-store/')
116
116
 
117
117
    def __str__(self):
118
 
        return '%s(%r)' % (self.__class__.__name__, self.baseurl)
 
118
        b = getattr(self, 'baseurl', 'undefined')
 
119
        return '%s(%r)' % (self.__class__.__name__, b)
119
120
 
120
121
    __repr__ = __str__
121
122