From 23f186e6a155b8e4bb90aa6b7ee601ceaf744e45 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 16 Sep 2020 20:02:34 -0400 Subject: [PATCH] pylint and other fixes --- Makefile | 2 +- lbry/db/database.py | 2 +- lbry/service/base.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index dbc6b9312..354bc3a8c 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ idea: start: dropdb lbry --if-exists createdb lbry - lbrynet start --full-node \ + lbrynet start node \ --db-url=postgresql:///lbry --workers=0 --console=advanced --no-spv-address-filters \ --lbrycrd-rpc-user=lbry --lbrycrd-rpc-pass=somethingelse \ --lbrycrd-dir=${HOME}/.lbrycrd --data-dir=/tmp/tmp-lbrynet diff --git a/lbry/db/database.py b/lbry/db/database.py index 37dfe5847..e9d912b12 100644 --- a/lbry/db/database.py +++ b/lbry/db/database.py @@ -113,7 +113,7 @@ class Database: def temp_sqlite_regtest(cls, lbrycrd_dir=None): from lbry import Config, RegTestLedger # pylint: disable=import-outside-toplevel directory = tempfile.mkdtemp() - conf = Config.with_same_dir(directory) + conf = Config.with_same_dir(directory).set(blockchain="regtest") if lbrycrd_dir is not None: conf.lbrycrd_dir = lbrycrd_dir ledger = RegTestLedger(conf) diff --git a/lbry/service/base.py b/lbry/service/base.py index 4449d99b9..fc1d9e47f 100644 --- a/lbry/service/base.py +++ b/lbry/service/base.py @@ -58,7 +58,6 @@ class Service: This is the programmatic api (as compared to API) """ - name: str sync: Sync def __init__(self, ledger: Ledger):