From 98c1301e237f1781bc47ff826b3253d7dcbde1a9 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 12 Oct 2015 14:18:02 -0400 Subject: [PATCH] Clean up some flake8 issues --- awx/main/management/commands/cleanup_authtokens.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/awx/main/management/commands/cleanup_authtokens.py b/awx/main/management/commands/cleanup_authtokens.py index a7f8fe6bdf..65a8d67e6b 100644 --- a/awx/main/management/commands/cleanup_authtokens.py +++ b/awx/main/management/commands/cleanup_authtokens.py @@ -2,9 +2,7 @@ # All Rights Reserved. # Python -import datetime import logging -from optparse import make_option # Django from django.db import transaction @@ -22,8 +20,6 @@ class Command(BaseCommand): help = 'Cleanup expired auth tokens.' def init_logging(self): - log_levels = dict(enumerate([logging.ERROR, logging.INFO, - logging.DEBUG, 0])) self.logger = logging.getLogger('awx.main.commands.cleanup_authtokens') handler = logging.StreamHandler() handler.setFormatter(logging.Formatter('%(message)s'))