mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Fix pylint issues for ansible-test
This commit is contained in:
parent
2b073c6e89
commit
8acab55470
2 changed files with 2 additions and 5 deletions
|
|
@ -811,10 +811,7 @@ class PodmanContainerDiff:
|
|||
for i in env_before}
|
||||
after = before.copy()
|
||||
if self.params['env']:
|
||||
after.update({
|
||||
k: v
|
||||
for k, v in self.params['env'].items()
|
||||
})
|
||||
after.update(self.params['env'])
|
||||
return self._diff_update_and_compare('env', before, after)
|
||||
|
||||
def diffparam_etc_hosts(self):
|
||||
|
|
|
|||
|
|
@ -587,7 +587,7 @@ class PodmanImageManager(object):
|
|||
|
||||
extra_args = self.build.get('extra_args')
|
||||
if extra_args:
|
||||
args.extend([arg for arg in shlex.split(extra_args)])
|
||||
args.extend(shlex.split(extra_args))
|
||||
|
||||
args.append(self.path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue