~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2005-10-13 21:29:09 UTC
  • mfrom: (1451)
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1460.
  • Revision ID: abentley@troll-20051013212909-cfde7d2d05ccd47e
Merged latest from robert collins

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: