mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Merge pull request #2124 from ryanpetrello/for-shaaaaaaame
fix failing flake8
This commit is contained in:
@@ -39,7 +39,7 @@ class Command(BaseCommand):
|
|||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
pongs = app.control.ping(['celery@{}'.format(socket.gethostname())])
|
pongs = app.control.ping(['celery@{}'.format(socket.gethostname())])
|
||||||
except:
|
except Exception:
|
||||||
pongs = []
|
pongs = []
|
||||||
if len(pongs):
|
if len(pongs):
|
||||||
sys.stderr.write(str(pongs) + '\n')
|
sys.stderr.write(str(pongs) + '\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user