make the echo plugin more manifest when debugging

especially useful to figure out if catchup works, from a user perspective
parent 7fdc402e
Pipeline #19166721 (#) passed with stage
in 2 minutes and 30 seconds
import logging
import shlex
......@@ -14,6 +15,8 @@ class output(object):
def __init__(self, *args, feed=None, **kwargs):
print(" ".join([shlex.quote(x) for x in args]))
logging.debug('echo plugin called with args%s: %s',
feed.get('catchup', '') and ' (simulated)', args)
if not feed.get('catchup'):
output.called = args
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment