summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-18 10:11:14 +0100
committerErik Johnston <erik@matrix.org>2015-05-18 10:11:14 +0100
commitc71176858b9d58cfbe5520ad1dac8191c005fdc9 (patch)
tree001135b0a378ded2edd0dac8d16b6b1954ebebf7
parentRemove debug logging (diff)
downloadsynapse-c71176858b9d58cfbe5520ad1dac8191c005fdc9.tar.xz
Newline, remove debug logging
-rw-r--r--synapse/federation/federation_server.py2
-rw-r--r--synapse/storage/_base.py1
-rw-r--r--synapse/storage/schema/delta/19/event_index.sql2
3 files changed, 1 insertions, 4 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index 2c6488dd1b..cd79e23f4b 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -415,8 +415,6 @@ class FederationServer(FederationBase):
                 pdu.internal_metadata.outlier = True
             elif min_depth and pdu.depth > min_depth:
                 if get_missing and prevs - seen:
-                    logger.debug("We're missing: %r", prevs-seen)
-
                     latest = yield self.store.get_latest_event_ids_in_room(
                         pdu.room_id
                     )
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index b529e0543e..d1f050394d 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -15,7 +15,6 @@
 import logging
 
 from synapse.api.errors import StoreError
-
 from synapse.util.logutils import log_function
 from synapse.util.logcontext import preserve_context_over_fn, LoggingContext
 from synapse.util.lrucache import LruCache
diff --git a/synapse/storage/schema/delta/19/event_index.sql b/synapse/storage/schema/delta/19/event_index.sql
index f3792817bb..3881fc9897 100644
--- a/synapse/storage/schema/delta/19/event_index.sql
+++ b/synapse/storage/schema/delta/19/event_index.sql
@@ -16,4 +16,4 @@
 
 CREATE INDEX events_order_topo_stream_room ON events(
     topological_ordering, stream_ordering, room_id
-);
\ No newline at end of file
+);