mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-09-15 12:22:16 +00:00
Ignore pylint warnings for construct that does not work with Python 2.
This commit is contained in:
@@ -13,7 +13,7 @@ from ansible_collections.community.docker.plugins.module_utils.copy import (
|
||||
|
||||
|
||||
def _simple_generator(sequence):
|
||||
for elt in sequence:
|
||||
for elt in sequence: # pylint: disable=use-yield-from
|
||||
yield elt
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user