1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Fix ambigous variable issue for pylint

This commit is contained in:
Sagi Shnaidman 2021-02-10 20:28:43 +02:00
parent e4f5a8eabe
commit 0f8f3c6cc2

View file

@ -383,8 +383,8 @@ class PodmanModuleParams:
def addparam_label(self, c):
for label in self.params['label'].items():
c += ['--label', b'='.join([to_bytes(l, errors='surrogate_or_strict')
for l in label])]
c += ['--label', b'='.join([to_bytes(la, errors='surrogate_or_strict')
for la in label])]
return c
def addparam_label_file(self, c):