/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

  • Committer: Martin Pool
  • Date: 2006-09-22 02:32:41 UTC
  • mfrom: (2027.2.3 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 2030.
  • Revision ID: mbp@sourcefrog.net-20060922023241-474fdb7540c8cf2e
[merge] python2.5 fixes from Marien

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
>>> try:
45
45
...   raise NotBranchError(path='/foo/bar')
46
46
... except:
47
 
...   print sys.exc_type
 
47
...   print '%s.%s' % (sys.exc_type.__module__, sys.exc_type.__name__)
48
48
...   print sys.exc_value
49
49
...   path = getattr(sys.exc_value, 'path', None)
50
50
...   if path is not None:
283
283
 
284
284
    def __init__(self, msg, base, args):
285
285
        PathError.__init__(self, base, msg)
286
 
        self.args = [base]
287
 
        self.args.extend(args)
 
286
        self.args = [base] + list(args)
288
287
 
289
288
 
290
289
class UnsupportedProtocol(PathError):