pylint errors

This commit is contained in:
Alex Grintsvayg 2017-03-23 16:05:26 -04:00
parent f0e7f38519
commit 3f08b5f711
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -5,7 +5,6 @@ import yaml
import os
import json
import logging
from txjsonrpc import jsonrpclib
log = logging.getLogger(__name__)