summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-04-01 14:47:19 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-04-01 14:47:19 +0100
commit6de7ab82cab5e6ee4bf3efb17e2a27c8e90196cd (patch)
treea859c0b2304533f452126e5eb19db4ddc4c532a8
parentfixes and lint (diff)
downloadsynapse-6de7ab82cab5e6ee4bf3efb17e2a27c8e90196cd.tar.xz
flake8 lied to me :c
-rw-r--r--synapse/federation/sender/per_destination_queue.py2
-rw-r--r--tests/replication/tcp/streams/test_receipts.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py
index 46e327ea0d..be99211003 100644
--- a/synapse/federation/sender/per_destination_queue.py
+++ b/synapse/federation/sender/per_destination_queue.py
@@ -25,10 +25,12 @@ from synapse.api.errors import (
     HttpResponseException,
     RequestSendFailed,
 )
+from synapse.events import EventBase
 from synapse.federation.units import Edu
 from synapse.handlers.presence import format_user_presence_state
 from synapse.metrics import sent_transactions_counter
 from synapse.metrics.background_process_metrics import run_as_background_process
+from synapse.storage import UserPresenceState
 from synapse.util.retryutils import NotRetryingDestination, get_retry_limiter
 
 logger = logging.getLogger(__name__)
diff --git a/tests/replication/tcp/streams/test_receipts.py b/tests/replication/tcp/streams/test_receipts.py
index f6dda20eba..d5a99f6caa 100644
--- a/tests/replication/tcp/streams/test_receipts.py
+++ b/tests/replication/tcp/streams/test_receipts.py
@@ -12,6 +12,8 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+from synapse.replication.tcp.streams._base import ReceiptsStreamRow
+
 from tests.replication.tcp.streams._base import BaseStreamTestCase
 
 USER_ID = "@feeling:blue"