From 5475f256ed289a4a096be4b638868ed329b87a30 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Thu, 24 Jun 2021 13:18:14 +0200 Subject: [PATCH] summary: nits --- summary/summary.py | 3 ++- summary/test_summary.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/summary/summary.py b/summary/summary.py index 203fd9c76..2ceadba3e 100755 --- a/summary/summary.py +++ b/summary/summary.py @@ -46,7 +46,8 @@ def run(self): rpcpeers = plugin.rpc.listpeers() trace_availability(plugin, rpcpeers) plugin.persist.sync() - plugin.log("[PeerThread] Peerstate availability persisted and synced. Sleeping now..." , 'debug') + plugin.log("[PeerThread] Peerstate availability persisted and " + "synced. Sleeping now...", 'debug') time.sleep(plugin.avail_interval) except Exception as ex: plugin.log("[PeerThread] " + str(ex), 'warn') diff --git a/summary/test_summary.py b/summary/test_summary.py index c7f4fe4ea..e659986f0 100644 --- a/summary/test_summary.py +++ b/summary/test_summary.py @@ -1,6 +1,5 @@ import subprocess import unittest -import time import re import os