mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
Fix more incorrect uses of is
operator.
This commit is contained in:
parent
46fbcf08bc
commit
04112d47a7
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ class Cliconf(CliconfBase):
|
|||
raise ValueError("fetching configuration from %s is not supported" % source)
|
||||
|
||||
cmd = 'show {0} '.format(lookup[source])
|
||||
if format and format is not 'text':
|
||||
if format and format != 'text':
|
||||
cmd += '| %s ' % format
|
||||
|
||||
if flags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue