lint network

This commit is contained in:
zixuanzh
2018-10-31 23:31:52 +01:00
parent 92867c42a4
commit f77e7bee95
3 changed files with 11 additions and 16 deletions

View File

@ -2,10 +2,6 @@ from abc import ABC, abstractmethod
class INetwork(ABC):
def __init__(self, my_peer_id, peer_store):
self.my_peer_id = my_peer_id
self.peer_store = peer_store
@abstractmethod
def set_stream_handler(self, stream_handler):
"""
@ -29,4 +25,4 @@ class INetwork(ABC):
:param *args: one or many multiaddrs to start listening on
:return: True if at least one success
"""
pass
pass