From 3c2f3f323aa685ab12a189ca20e7ceaded6d2e4c Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Tue, 9 Jun 2015 16:07:06 -0400 Subject: [PATCH] Fix some flake8 --- awx/fact/utils/connection.py | 2 +- awx/main/management/commands/run_fact_cache_receiver.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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