From e3abab6d4d28e924dbdddeb03c1bdc643391062a Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 4 May 2020 12:09:09 -0400 Subject: [PATCH] pylint --- lbry/utils.py | 1 - lbry/wallet/database.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/utils.py b/lbry/utils.py index 4aa1215e3..0db443cd9 100644 --- a/lbry/utils.py +++ b/lbry/utils.py @@ -20,7 +20,6 @@ import pkg_resources import certifi import aiohttp -from prometheus_client import Histogram from lbry.schema.claim import Claim log = logging.getLogger(__name__) diff --git a/lbry/wallet/database.py b/lbry/wallet/database.py index 4f92ad445..31d078cec 100644 --- a/lbry/wallet/database.py +++ b/lbry/wallet/database.py @@ -86,7 +86,8 @@ class AIOSQLite: f'write_lock_acquired', 'Time to acquire the write lock', namespace="daemon_database", buckets=HISTOGRAM_BUCKETS ) held_write_lock_metric = Histogram( - f'write_lock_held', 'Length of time the write lock is held for', namespace="daemon_database", buckets=HISTOGRAM_BUCKETS + f'write_lock_held', 'Length of time the write lock is held for', namespace="daemon_database", + buckets=HISTOGRAM_BUCKETS ) def __init__(self):