fix missing arg in get_blob

This commit is contained in:
Job Evers-Meltzer 2017-01-20 11:35:34 -06:00
parent 6bc3e8a3f4
commit 8c5f7a9849

View file

@ -187,7 +187,7 @@ class AlwaysSend(object):
@defer.inlineCallbacks
def calculate_available_blob_size(blob_manager):
blob_hashes = yield blob_manager.get_all_verified_blobs()
blobs = yield defer.DeferredList([blob_manager.get_blob(b) for b in blob_hashes])
blobs = yield defer.DeferredList([blob_manager.get_blob(b, True) for b in blob_hashes])
defer.returnValue(sum(b.length for success, b in blobs if success and b.length))