8bcffb67cb
* ignore TODO and kademlia * remove unnecessary pass * fixed swarm warnings * fixed peerdata_interface warnings * fixed peer warnings * fixed rest of linting errors * trying to fix last error * fixed dup errors
6 lines
176 B
Python
6 lines
176 B
Python
class PeerInfo:
|
|
# pylint: disable=too-few-public-methods
|
|
def __init__(self, peer_id, peer_data):
|
|
self.peer_id = peer_id
|
|
self.addrs = peer_data.get_addrs()
|