Remove unnecessary code.
This commit is contained in:
parent
4829c6a21d
commit
4babfcbfea
1 changed files with 0 additions and 3 deletions
|
@ -273,9 +273,6 @@ class Peer(MessageServer):
|
|||
|
||||
# send out request chunk
|
||||
if cursor < total_chunknum:
|
||||
if len(file_chunk_info[cursor]) == 0:
|
||||
return False, 'File chunk #{} is not present on any peer.'.format(cursor)
|
||||
|
||||
if len(file_chunk_info[cursor]) == 0:
|
||||
# update chunkinfo to see if new peers have registered and update downloading plan
|
||||
assert not self._tracker_writer.is_closing()
|
||||
|
|
Loading…
Reference in a new issue