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:
parent
f7f26e71ee
commit
dd2bba8295
1 changed files with 1 additions and 5 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue