From 747eace4ab475e947a35e90e7b6cb4a7d3427de3 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 13 Aug 2020 12:08:35 -0400 Subject: [PATCH] lint --- lbry/cli.py | 4 ++-- lbry/service/light_client.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lbry/cli.py b/lbry/cli.py index 0aefeb7fe..4a2b3390d 100644 --- a/lbry/cli.py +++ b/lbry/cli.py @@ -216,7 +216,7 @@ def set_kwargs(parsed_args): def install_systemd_service(): - SYSTEMD_SERVICE = textwrap.dedent(f"""\ + systemd_service = textwrap.dedent(f"""\ [Unit] Description=LBRYnet @@ -226,7 +226,7 @@ def install_systemd_service(): """) subprocess.run( ["systemctl", "edit", "--user", "--full", "--force", "lbrynet.service"], - input=SYSTEMD_SERVICE, text=True, + input=systemd_service, text=True, check=True, env=dict(os.environ, SYSTEMD_EDITOR="cp /dev/stdin"), ) diff --git a/lbry/service/light_client.py b/lbry/service/light_client.py index 8dd626ff3..ab4969720 100644 --- a/lbry/service/light_client.py +++ b/lbry/service/light_client.py @@ -37,3 +37,6 @@ class LightClient(Service): async def search_claims(self, accounts, **kwargs): pass + + async def search_supports(self, accounts, **kwargs): + pass