mirror of https://github.com/borgbackup/borg.git
1.0-maint merge fixup (hexlify..decode -> bin_to_hex)
This commit is contained in:
parent
aade62c9f9
commit
11e02461d2
|
@ -597,7 +597,7 @@ Number of files: {0.stats.nfiles}'''.format(
|
||||||
try:
|
try:
|
||||||
self.cache.chunk_decref(id, stats)
|
self.cache.chunk_decref(id, stats)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
cid = hexlify(id).decode('ascii')
|
cid = bin_to_hex(id)
|
||||||
raise ChunksIndexError(cid)
|
raise ChunksIndexError(cid)
|
||||||
except Repository.ObjectNotFound as e:
|
except Repository.ObjectNotFound as e:
|
||||||
# object not in repo - strange, but we wanted to delete it anyway.
|
# object not in repo - strange, but we wanted to delete it anyway.
|
||||||
|
|
Loading…
Reference in New Issue