mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
Fix infrequent PEP 8 issues.
This commit is contained in:
parent
13fc909058
commit
63b1e0c277
31 changed files with 41 additions and 50 deletions
|
@ -559,10 +559,10 @@ class ZipArchive(object):
|
|||
if self.opts:
|
||||
cmd.extend(self.opts)
|
||||
cmd.append(self.src)
|
||||
# NOTE: Including (changed) files as arguments is problematic (limits on command line/arguments)
|
||||
# if self.includes:
|
||||
# NOTE: Command unzip has this strange behaviour where it expects quoted filenames to also be escaped
|
||||
# cmd.extend(map(shell_escape, self.includes))
|
||||
# NOTE: Including (changed) files as arguments is problematic (limits on command line/arguments)
|
||||
# if self.includes:
|
||||
# NOTE: Command unzip has this strange behaviour where it expects quoted filenames to also be escaped
|
||||
# cmd.extend(map(shell_escape, self.includes))
|
||||
if self.excludes:
|
||||
cmd.extend([ '-x' ] + self.excludes)
|
||||
cmd.extend([ '-d', self.dest ])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue