Make pylint happy

Not sure why it fails now, but happy previously.
This commit is contained in:
mhchia 2019-07-10 17:44:14 +08:00
parent fa092505e8
commit c8cb375d19
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A
2 changed files with 1 additions and 3 deletions

View File

@ -28,4 +28,4 @@ class IPeerRouting(ABC):
Find specific Peer
FindPeer searches for a peer with given peer_id, returns a peer.PeerInfo
with relevant addresses.
"""
"""

View File

@ -11,11 +11,9 @@ class KadmeliaContentRouter(IContentRouting):
"""
# the DHT finds the closest peers to `key` using the `FIND_NODE` RPC
# then sends a `ADD_PROVIDER` RPC with its own `PeerInfo` to each of these peers.
pass
def find_provider_iter(self, cid, count):
"""
Search for peers who are able to provide a given key
returns an iterator of peer.PeerInfo
"""
pass