/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Merge new tests from 'Always encode PermissionDenied and ReadError'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
            s = str(s)
135
135
        return s
136
136
 
 
137
    def __repr__(self):
 
138
        return '%s(%s)' % (self.__class__.__name__, str(self))
 
139
 
137
140
    def _get_format_string(self):
138
141
        """Return format string for this exception or None"""
139
142
        fmt = getattr(self, '_fmt', None)