fix failing flake8

This commit is contained in:
Ryan Petrello
2018-06-11 15:21:47 -04:00
parent ee00c628af
commit 62c5784833

View File

@@ -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')