mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 16:34:02 -07:00
Fix incorrect use of is
for comparisons.
See https://bugs.python.org/issue34850 for details.
This commit is contained in:
parent
cd7a144515
commit
0a461380a3
21 changed files with 42 additions and 42 deletions
|
@ -1378,7 +1378,7 @@ def core(module):
|
|||
|
||||
# Set VM Host
|
||||
vmhost = module.params.get('vmhost')
|
||||
if vmhost is not False and vmhost is not "False":
|
||||
if vmhost is not False and vmhost != "False":
|
||||
if r.setVMHost(vminfo['name'], vmhost) is False:
|
||||
return RHEV_FAILED, msg
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue