From 3f08b5f711e04a54409f85ca8a554fe3b3c61cf3 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 23 Mar 2017 16:05:26 -0400 Subject: [PATCH] pylint errors --- lbrynet/lbrynet_daemon/auth/server.py | 4 ++-- lbrynet/lbrynet_daemon/auth/util.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lbrynet/lbrynet_daemon/auth/server.py b/lbrynet/lbrynet_daemon/auth/server.py index 3ea32a1b4..9cdd8d4db 100644 --- a/lbrynet/lbrynet_daemon/auth/server.py +++ b/lbrynet/lbrynet_daemon/auth/server.py @@ -289,7 +289,7 @@ class AuthJSONRPCServer(AuthorizedBase): log.warning('Failed to get function %s: %s', function_name, err) self._render_error( JSONRPCError(None, JSONRPCError.CODE_METHOD_NOT_FOUND), - request + request, id_ ) return server.NOT_DONE_YET except NotAllowedDuringStartupError as err: @@ -297,7 +297,7 @@ class AuthJSONRPCServer(AuthorizedBase): self._render_error( JSONRPCError("This method is unavailable until the daemon is fully started", code=JSONRPCError.CODE_INVALID_REQUEST), - request + request, id_ ) return server.NOT_DONE_YET diff --git a/lbrynet/lbrynet_daemon/auth/util.py b/lbrynet/lbrynet_daemon/auth/util.py index 25f7a7c6d..eaef0896b 100644 --- a/lbrynet/lbrynet_daemon/auth/util.py +++ b/lbrynet/lbrynet_daemon/auth/util.py @@ -5,7 +5,6 @@ import yaml import os import json import logging -from txjsonrpc import jsonrpclib log = logging.getLogger(__name__)