~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 07:30:14 UTC
  • mfrom: (1452)
  • mto: This revision was merged to the branch mainline in revision 1453.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051013073014-cdfd16f95c395b6b
merge from integration

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: