278
278
if rev.revision_id != revision_id:
280
280
if sha1 != rev.inventory_sha1:
281
f = open(',,bogus-inv', 'wb')
281
open(',,bogus-inv', 'wb').write(s)
286
282
warning('Inventory sha hash mismatch for revision %s. %s'
287
283
' != %s' % (revision_id, sha1, rev.inventory_sha1))