Fix missing logconfig when running tests in pycharm

When running or debugging the tests in pycharm the logconfig module
isn't found and leads to broken test cases [1]. Running in tox seems
to work though. Changing the import to zuul.ansible.logconfig fixes
this for both.

[1] AttributeError: module 'zuul.ansible' has no attribute 'logconfig'

Change-Id: I38f624de8338fa8bdc8fd5fa58bf0b8859fbcf4a
changes/48/500748/1
Tobias Henkel 5 years ago
parent 6fcf115d02
commit 1f5a7e7a5c
  1. 2
      zuul/executor/server.py

@ -36,7 +36,7 @@ except ImportError:
import gear
import zuul.merger.merger
import zuul.ansible
import zuul.ansible.logconfig
from zuul.lib import commandsocket
BUFFER_LINES_FOR_SYNTAX = 200

Loading…
Cancel
Save