From 62c57848338d150e1165fc9643ac07c36d1f2626 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Mon, 11 Jun 2018 15:21:47 -0400 Subject: [PATCH] fix failing flake8 --- awx/main/management/commands/watch_celery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/management/commands/watch_celery.py b/awx/main/management/commands/watch_celery.py index 64e03e52aa..c991164045 100644 --- a/awx/main/management/commands/watch_celery.py +++ b/awx/main/management/commands/watch_celery.py @@ -39,7 +39,7 @@ class Command(BaseCommand): while True: try: pongs = app.control.ping(['celery@{}'.format(socket.gethostname())]) - except: + except Exception: pongs = [] if len(pongs): sys.stderr.write(str(pongs) + '\n')