iterkeys() -> keys()

This commit is contained in:
Lex Berezhny 2018-07-21 17:27:53 -04:00 committed by Jack Robison
parent e1e7be63b8
commit 607677f98f
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -161,7 +161,7 @@ class BlobRequester(object):
return True return True
def _get_bad_peers(self): def _get_bad_peers(self):
return [p for p in self._peers.iterkeys() if not self._should_send_request_to(p)] return [p for p in self._peers.keys() if not self._should_send_request_to(p)]
def _hash_available(self, blob_hash): def _hash_available(self, blob_hash):
for peer in self._available_blobs: for peer in self._available_blobs: