Skip to content

Commit

Permalink
Fix imports in main.py
Browse files Browse the repository at this point in the history
- Remove unused imports
- Add missing import
- Remove import *
  • Loading branch information
Siecje committed Jun 12, 2023
1 parent fd7a3e9 commit 8a95203
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions volttron/platform/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 8a95203

Please sign in to comment.