Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
live_objects = find_live_objects(existing_count, cat_pipe,
verbosity=verbosity)
except MissingObject as ex:
- log('bup: missing object %r \n' % ex.id.encode('hex'))
+ log('bup: missing object %r \n' % ex.oid.encode('hex'))
sys.exit(1)
try:
# FIXME: just rename midxes and bloom, and restore them at the end if
class MissingObject(KeyError):
- def __init__(self, id):
- self.id = id
- KeyError.__init__(self, 'object %r is missing' % id.encode('hex'))
+ def __init__(self, oid):
+ self.oid = oid
+ KeyError.__init__(self, 'object %r is missing' % oid.encode('hex'))
WalkItem = namedtuple('WalkItem', ['id', 'type', 'mode',