check-rabbitmq-consumers: Fix queue_workers call.

This commit is contained in:
Tim Abbott 2017-02-22 00:48:43 -08:00
parent 03861e5418
commit b81add60fe
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ consumers = defaultdict(int) # type: Dict[str, int]
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))) sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))))
from scripts.lib.zulip_tools import su_to_zulip from scripts.lib.zulip_tools import su_to_zulip
queues = subprocess.check_output(['./scripts/lib/queue_workers.py', '--queue-type=consumer'], queues = subprocess.check_output([os.path.abspath('./scripts/lib/queue_workers.py'),
'--queue-type=consumer'],
universal_newlines=True, universal_newlines=True,
preexec_fn=su_to_zulip) preexec_fn=su_to_zulip)