~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Teach versioned files to prevent mutation after finishing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
300
300
        self.obj = obj
301
301
 
302
302
 
 
303
class OutSideTransaction(BzrNewError):
 
304
    """A transaction related operation was attempted after the transaction finished."""
 
305
 
 
306
 
303
307
class ObjectNotLocked(LockError):
304
308
    """%(obj)r is not locked"""
305
309
    # this can indicate that any particular object is not locked; see also