From 7e58767ac1b8414977c759334d308a942dd00eab Mon Sep 17 00:00:00 2001 From: meejah Date: Fri, 12 Feb 2021 18:17:09 -0700 Subject: [PATCH] pyflakes --- src/wormhole_transit_relay/server_state.py | 1 - src/wormhole_transit_relay/server_tap.py | 1 + src/wormhole_transit_relay/test/test_stats.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wormhole_transit_relay/server_state.py b/src/wormhole_transit_relay/server_state.py index 613eee3..d89d335 100644 --- a/src/wormhole_transit_relay/server_state.py +++ b/src/wormhole_transit_relay/server_state.py @@ -9,7 +9,6 @@ from zope.interface import ( implementer, ) from twisted.python import log -from .database import get_db class ITransitClient(Interface): diff --git a/src/wormhole_transit_relay/server_tap.py b/src/wormhole_transit_relay/server_tap.py index 704d404..b4028d2 100644 --- a/src/wormhole_transit_relay/server_tap.py +++ b/src/wormhole_transit_relay/server_tap.py @@ -8,6 +8,7 @@ from twisted.internet import endpoints from . import transit_server from .server_state import create_usage_tracker from .increase_rlimits import increase_rlimits +from .database import get_db LONGDESC = """\ This plugin sets up a 'Transit Relay' server for magic-wormhole. This service diff --git a/src/wormhole_transit_relay/test/test_stats.py b/src/wormhole_transit_relay/test/test_stats.py index 390b524..806aafb 100644 --- a/src/wormhole_transit_relay/test/test_stats.py +++ b/src/wormhole_transit_relay/test/test_stats.py @@ -1,5 +1,5 @@ from __future__ import print_function, unicode_literals -import os, io, json, sqlite3 +import os, io, json try: from unittest import mock except ImportError: