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