Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ Changed
This functionality should never be used in production, but only in development environments or
similar when debugging code. #5199

* Silence pylint about dev/debugging utility (tools/direct_queue_publisher.py) that uses pika because kombu
doesn't support what it does. If anyone uses that utility, they have to install pika manually. #5380

Fixed
~~~~~

Expand Down
7 changes: 6 additions & 1 deletion tools/direct_queue_publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
from __future__ import absolute_import
import argparse

import pika
try:
import pika # pylint disable=import-error
except ImportError:
raise ImportError(
"Pika is not installed with StackStorm. Install it manually to use this tool."
)


def main(queue, payload):
Expand Down