/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: Marien Zwart
  • Date: 2006-09-21 23:06:54 UTC
  • mto: (2029.1.1 marien.python2.5)
  • mto: This revision was merged to the branch mainline in revision 2030.
  • Revision ID: marienz@gentoo.org-20060921230654-77cb3d28e97ffb9f
Fixes for python 2.5.

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):