~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.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:
295
295
 
296
296
 
297
297
class ReadOnlyError(LockError):
298
 
    """A write attempt was made in a read only transaction."""
299
 
    def __init__(self):
300
 
        pass
 
298
    """A write attempt was made in a read only transaction on %(obj)s"""
 
299
    def __init__(self, obj):
 
300
        self.obj = obj
301
301
 
302
302
 
303
303
class BranchNotLocked(LockError):