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

Update plugins/modules/artisan.py

More pythonic

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
Ralf Langebrake 2024-03-17 17:34:11 +01:00 committed by GitHub
parent f7f26e71ee
commit dd2bba8295
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -162,11 +162,7 @@ def has_changed(message):
'No changes'
]
for info in artisan_messages:
if info in message:
return False
return True
return all(info not in message for info in artisan_messages)
def get_help(module, command):