From 8a0fddfd73784b0e06c8d61337279c45c96e8687 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 10 Jan 2017 16:30:53 +0000 Subject: [PATCH] Remove spurious for..else.. --- synapse/app/pusher.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py index a3df375c81..57e097fa11 100644 --- a/synapse/app/pusher.py +++ b/synapse/app/pusher.py @@ -146,17 +146,6 @@ class PusherServer(HomeServer): ), interface=address ) - else: - reactor.listenTCP( - port, - SynapseSite( - "synapse.access.http.%s" % (site_tag,), - site_tag, - listener_config, - root_resource, - ), - interface=bind_address - ) logger.info("Synapse pusher now listening on port %d", port)