fix error in blob_delete

This commit is contained in:
Jack Robison 2018-08-09 11:26:57 -04:00
parent d565aa0b3f
commit 2b7e135839
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -96,6 +96,8 @@ class DiskBlobManager(object):
def delete_blobs(self, blob_hashes):
bh_to_delete_from_db = []
for blob_hash in blob_hashes:
if not blob_hash:
continue
if self._node_datastore is not None:
try:
self._node_datastore.completed_blobs.remove(blob_hash.decode('hex'))