From 607677f98fa0e1d66d74ad77d3637852d0aaebee Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sat, 21 Jul 2018 17:27:53 -0400 Subject: [PATCH] iterkeys() -> keys() --- lbrynet/core/client/BlobRequester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/core/client/BlobRequester.py b/lbrynet/core/client/BlobRequester.py index 75c07aa62..ddf9149c0 100644 --- a/lbrynet/core/client/BlobRequester.py +++ b/lbrynet/core/client/BlobRequester.py @@ -161,7 +161,7 @@ class BlobRequester(object): return True 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): for peer in self._available_blobs: