mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Rabbitmq 3.2.4 on Ubuntu has ...done. not ...done, change the if to be more portable
This commit is contained in:
parent
65ab5aa495
commit
39ef653bc2
@ -72,7 +72,7 @@ def _strip_listing_to_done(output_list):
|
||||
# some versions of rabbitmq have no trailing '...done' line,
|
||||
# which some versions do not output.
|
||||
l_line = ''.join(output_list[-1:])
|
||||
if l_line == '...done':
|
||||
if '...done' in l_line:
|
||||
output_list.pop()
|
||||
|
||||
return output_list
|
||||
|
Loading…
Reference in New Issue
Block a user