pylint fixes

This commit is contained in:
Lex Berezhny 2018-07-25 01:23:02 -04:00 committed by Jack Robison
parent 5597d45aed
commit a937aff80f
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
5 changed files with 3 additions and 8 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,4 @@
import logging
import socket
import errno
from binascii import hexlify
from collections import deque