~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-10-13 01:29:22 UTC
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051013012922-b0249adeccecc4ed
teach check about ghosts

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        ## n = self.__class__.__name__ + ': '
30
30
        n = ''
31
31
        if len(self.args) == 1:
32
 
            return n + self.args[0]
 
32
            return str(self.args[0])
33
33
        elif len(self.args) == 2:
34
34
            # further explanation or suggestions
35
35
            try: