~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2008-10-21 03:47:13 UTC
  • mto: This revision was merged to the branch mainline in revision 3788.
  • Revision ID: robertc@robertcollins.net-20081021034713-dhjfb9ypmnyr6nga
Ensure SHA1KnitCorrupt formats ok.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1426
1426
 
1427
1427
class SHA1KnitCorrupt(KnitCorrupt):
1428
1428
 
1429
 
    _fmy = ("Knit %(filename)s corrupt: sha-1 of reconstructed text does not "
 
1429
    _fmt = ("Knit %(filename)s corrupt: sha-1 of reconstructed text does not "
1430
1430
        "match expected sha-1. key %(key)s expected sha %(expected)s actual "
1431
 
        "sha %(actual)")
 
1431
        "sha %(actual)s")
1432
1432
 
1433
1433
    def __init__(self, filename, actual, expected, key, content):
1434
1434
        KnitError.__init__(self)