Fix rabbitmqctl output handler for 3.6.10

Fix the output sanatizer for rabbitmqctl output generated by
rabbitmq-server 3.6.10 and later. #41955

Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
Andreas Ulm 2017-06-28 00:32:20 +02:00
parent 82b1eb28ab
commit 3602af1e1b

View file

@ -72,6 +72,7 @@ def _safe_output(line):
'''
return not any([
line.startswith('Listing') and line.endswith('...'),
line.startswith('Listing') and '\t' not in line,
'...done' in line,
line.startswith('WARNING:')
])