~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transactions.py

  • Committer: Martin Pool
  • Date: 2006-02-22 07:06:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1569.
  • Revision ID: mbp@sourcefrog.net-20060222070612-c108852197fc0ca4
LockDir review comment fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 
83
83
    def register_dirty(self, an_object):
84
84
        """Register an_object as being dirty."""
85
 
        raise errors.ReadOnlyError()
 
85
        raise errors.ReadOnlyObjectDirtiedError(an_object)
86
86
 
87
87
    def rollback(self):
88
88
        """Let people call this even though nothing has to happen."""