pylint fixes
This commit is contained in:
parent
5597d45aed
commit
a937aff80f
5 changed files with 3 additions and 8 deletions
|
@ -6,7 +6,7 @@ from lbrynet.core.Error import ComponentStartConditionNotMet
|
|||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class RegisteredConditions(object):
|
||||
class RegisteredConditions:
|
||||
conditions = {}
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ class RequiredCondition(metaclass=RequiredConditionType):
|
|||
raise NotImplementedError()
|
||||
|
||||
|
||||
class ComponentManager(object):
|
||||
class ComponentManager:
|
||||
default_component_classes = {}
|
||||
|
||||
def __init__(self, reactor=None, analytics_manager=None, skip_components=None, **override_components):
|
||||
|
|
|
@ -5,7 +5,6 @@ import requests
|
|||
import urllib
|
||||
import json
|
||||
import textwrap
|
||||
import signal
|
||||
from binascii import hexlify, unhexlify
|
||||
from copy import deepcopy
|
||||
from decimal import Decimal, InvalidOperation
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys
|
||||
import code
|
||||
import argparse
|
||||
import logging.handlers
|
||||
from exceptions import SystemExit
|
||||
from twisted.internet import defer, reactor, threads
|
||||
from lbrynet import analytics
|
||||
from lbrynet import conf
|
||||
|
|
|
@ -12,7 +12,7 @@ from lbrynet.core import log_support
|
|||
import argparse
|
||||
import logging.handlers
|
||||
|
||||
from twisted.internet import defer, reactor
|
||||
from twisted.internet import reactor
|
||||
#from jsonrpc.proxy import JSONRPCProxy
|
||||
|
||||
from lbrynet import conf
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import logging
|
||||
import socket
|
||||
import errno
|
||||
from binascii import hexlify
|
||||
from collections import deque
|
||||
|
|
Loading…
Reference in a new issue