Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 97a1a4d

Browse files
committed
Fix pylint
1 parent a8c932b commit 97a1a4d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

api/restapi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,8 +712,7 @@ def handle_response(resp, contract):
712712
request.args["moderator"][0] if "moderator" in request.args else None,
713713
options,
714714
request.args["alternate_contact"][0].decode("utf8")
715-
if "alternate_contact" in request.args else None,
716-
)
715+
if "alternate_contact" in request.args else None)
717716

718717
def get_node(node):
719718
if node is not None:

net/dos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__author__ = 'chris'
22

33
from log import Logger
4-
from protos.message import Command, PING, STUN, STORE, INV, VALUES, GET_LISTINGS, FOLLOW, UNFOLLOW
4+
from protos.message import Command, FOLLOW, UNFOLLOW
55
from twisted.internet import reactor, task
66

77
RECONNECTIONS = 100

0 commit comments

Comments
 (0)