diff --git a/lib/ansible/modules/extras/packaging/language/composer.py b/lib/ansible/modules/extras/packaging/language/composer.py index dfb840f66b..60b6bec5c7 100644 --- a/lib/ansible/modules/extras/packaging/language/composer.py +++ b/lib/ansible/modules/extras/packaging/language/composer.py @@ -133,8 +133,6 @@ def parse_out(string): return re.sub("\s+", " ", string).strip() def has_changed(string): - if string == "": - return False return "Nothing to install or update" not in string def get_available_options(module, command='install'):