~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Robert Collins
  • Date: 2010-05-06 23:54:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100506235405-wii4elupfhzl3jvy
Add __str__ to the new helper classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
872
872
        self.repository_token = repository_token
873
873
        self.unlock = unlock
874
874
 
 
875
    def __str__(self):
 
876
        return "RepositoryWriteLockResult(%s, %s)" % (self.repository_token,
 
877
            self.unlock)
 
878
 
875
879
 
876
880
######################################################################
877
881
# Repositories