From 8a95203055eea4faddb340e11aa8802d891c5084 Mon Sep 17 00:00:00 2001 From: Cody Scott Date: Fri, 9 Jun 2023 06:54:58 -0400 Subject: [PATCH] Fix imports in main.py - Remove unused imports - Add missing import - Remove import * --- volttron/platform/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volttron/platform/main.py b/volttron/platform/main.py index b9063759ef..48e4681dd3 100644 --- a/volttron/platform/main.py +++ b/volttron/platform/main.py @@ -69,7 +69,7 @@ import gevent import zmq -from zmq import ZMQError, green +from zmq import ZMQError, green, NOBLOCK from volttron.platform.agent.utils import get_platform_instance_name # Create a context common to the green and non-green zmq modules. @@ -86,7 +86,7 @@ from volttron.platform.auth.auth_entry import AuthEntry from volttron.platform.auth.auth_file import AuthFile from volttron.platform.control.control import ControlService -from volttron.platform.vip.router import * +from volttron.platform.vip.router import BaseRouter, ERROR, INCOMING, UNROUTABLE from volttron.platform.vip.socket import Address, decode_key, encode_key from volttron.platform.vip.tracking import Tracker @@ -109,7 +109,6 @@ PROXY_ROUTER) from .keystore import KeyStore, KnownHostsStore from .store import ConfigStoreService -from .vip.agent.subsystems.pubsub import ProtectedPubSubTopics from .vip.externalrpcservice import ExternalRPCService from .vip.keydiscovery import KeyDiscoveryAgent from .vip.pubsubservice import PubSubService