~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

[merge] from robert

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        ## n = self.__class__.__name__ + ': '
41
41
        n = ''
42
42
        if len(self.args) == 1:
43
 
            return n + self.args[0]
 
43
            return str(self.args[0])
44
44
        elif len(self.args) == 2:
45
45
            # further explanation or suggestions
46
46
            try: