mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 16:04:09 -07:00
simplify string formatting in some modules (#10727)
* simplify string formatting in some modules * add changelog frag
This commit is contained in:
parent
3cc4f28fd7
commit
6f40eff632
10 changed files with 23 additions and 13 deletions
|
@ -188,9 +188,9 @@ class ZFSFacts(object):
|
|||
cmd.append('-p')
|
||||
if self.recurse:
|
||||
cmd.append('-r')
|
||||
if int(self.depth) != 0:
|
||||
if self.depth != 0:
|
||||
cmd.append('-d')
|
||||
cmd.append('%s' % self.depth)
|
||||
cmd.append('%d' % self.depth)
|
||||
if self.type:
|
||||
cmd.append('-t')
|
||||
cmd.append(','.join(self.type))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue