/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 (hopefully the last time) mainline fixes for 0.15.

Show diffs side-by-side

added added

removed removed

Lines of Context:
700
700
        self.obj = obj
701
701
 
702
702
 
 
703
class ReadOnlyLockError(LockError):
 
704
 
 
705
    _fmt = "Cannot acquire write lock on %(fname)s. %(msg)s"
 
706
 
 
707
    def __init__(self, fname, msg):
 
708
        LockError.__init__(self, '')
 
709
        self.fname = fname
 
710
        self.msg = msg
 
711
 
 
712
 
703
713
class OutSideTransaction(BzrError):
704
714
 
705
715
    _fmt = ("A transaction related operation was attempted after"
740
750
    # bits?
741
751
 
742
752
    internal_error = False
743
 
    
 
753
 
744
754
    def __init__(self, lock):
745
755
        self.lock = lock
746
756