diff --git a/awx/fact/utils/connection.py b/awx/fact/utils/connection.py index 7400fdf905..100caccf0a 100644 --- a/awx/fact/utils/connection.py +++ b/awx/fact/utils/connection.py @@ -3,7 +3,7 @@ from django.conf import settings from mongoengine import connect -from mongoengine.connection import get_db, ConnectionError +from mongoengine.connection import ConnectionError def test_mongo_connection(): # Connect to Mongo diff --git a/awx/main/management/commands/run_fact_cache_receiver.py b/awx/main/management/commands/run_fact_cache_receiver.py index 9d3a83b290..ce3b1396be 100644 --- a/awx/main/management/commands/run_fact_cache_receiver.py +++ b/awx/main/management/commands/run_fact_cache_receiver.py @@ -2,7 +2,6 @@ # All Rights Reserved import logging -import sys from datetime import datetime from django.core.management.base import NoArgsCommand