From f94c5b0c37ebe7a649bba8159b4d5c9e84fded81 Mon Sep 17 00:00:00 2001 From: "R. Richard" Date: Fri, 28 Jun 2019 17:34:22 +0200 Subject: [PATCH] Rename server_connector to uplink --- lib/tfw/builtins/message_sender.py | 6 +++--- lib/tfw/{config/log.py => logging.py} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/tfw/{config/log.py => logging.py} (100%) diff --git a/lib/tfw/builtins/message_sender.py b/lib/tfw/builtins/message_sender.py index e6c1cfb..821b811 100644 --- a/lib/tfw/builtins/message_sender.py +++ b/lib/tfw/builtins/message_sender.py @@ -6,7 +6,7 @@ class MessageSender: Provides mechanisms to send messages to our frontend messaging component. """ def __init__(self): - self.server_connector = TFWServerUplinkConnector() + self.uplink = TFWServerUplinkConnector() self.key = 'message' self.queue_key = 'queueMessages' @@ -23,7 +23,7 @@ class MessageSender: 'message': message } } - self.server_connector.send_message(message) + self.uplink.send_message(message) def queue_messages(self, originator, messages): """ @@ -40,7 +40,7 @@ class MessageSender: ] } } - self.server_connector.send_message(message) + self.uplink.send_message(message) @staticmethod def generate_messages_from_queue(queue_message): diff --git a/lib/tfw/config/log.py b/lib/tfw/logging.py similarity index 100% rename from lib/tfw/config/log.py rename to lib/tfw/logging.py