1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

removed check for empty composer response

This commit is contained in:
Ramunas 2015-10-27 22:14:12 +02:00 committed by Matt Clay
parent 6e4b42ebbc
commit 662fa86f07

View file

@ -133,8 +133,6 @@ def parse_out(string):
return re.sub("\s+", " ", string).strip() return re.sub("\s+", " ", string).strip()
def has_changed(string): def has_changed(string):
if string == "":
return False
return "Nothing to install or update" not in string return "Nothing to install or update" not in string
def get_available_options(module, command='install'): def get_available_options(module, command='install'):