~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2006-02-21 22:30:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1569.
  • Revision ID: mbp@sourcefrog.net-20060221223009-af22e77274dc6fda
Warning to check storage when lock was broken

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 Canonical
 
1
# Copyright (C) 2005, 2006 Canonical
2
2
 
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
301
301
 
302
302
 
303
303
class LockBroken(LockError):
304
 
    """Lock broken: %(lock)s"""
 
304
    """Lock was broken while still open: %(lock)s - check storage consistency!"""
305
305
    def __init__(self, lock):
306
306
        self.lock = lock
307
307