~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2010-09-13 08:55:08 UTC
  • mfrom: (5417.1.5 scripts)
  • mto: This revision was merged to the branch mainline in revision 5426.
  • Revision ID: mbp@sourcefrog.net-20100913085508-oz74wnsz53hjd4yf
Merge additional fixes for blank lines in scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1072
1072
        self.target = target
1073
1073
 
1074
1074
 
1075
 
class LockCorrupt(LockError):
1076
 
 
1077
 
    _fmt = ("Lock is apparently held, but corrupted: %(corruption_info)s\n"
1078
 
            "Use 'bzr break-lock' to clear it")
1079
 
 
1080
 
    internal_error = False
1081
 
 
1082
 
    def __init__(self, corruption_info, file_data=None):
1083
 
        self.corruption_info = corruption_info
1084
 
        self.file_data = file_data
1085
 
 
1086
 
 
1087
1075
class LockNotHeld(LockError):
1088
1076
 
1089
1077
    _fmt = "Lock not held: %(lock)s"
1395
1383
 
1396
1384
class WeaveInvalidChecksum(WeaveError):
1397
1385
 
1398
 
    _fmt = "Text did not match its checksum: %(msg)s"
 
1386
    _fmt = "Text did not match it's checksum: %(msg)s"
1399
1387
 
1400
1388
 
1401
1389
class WeaveTextDiffers(WeaveError):