Commit d4223855 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Wait for last thread in append_object

Bug: pithos.PithosClient.append_object failed to find and join the
last thread
parent 79bedf0d
......@@ -1343,7 +1343,7 @@ class PithosClient(PithosRestClient):
for key, thread in flying.items():
if thread.isAlive():
if i < nblocks:
if i < (nblocks - 1):
unfinished[key] = thread
continue
thread.join()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment