Created
September 9, 2020 01:59
-
-
Save metabsd/8ee0cb958757f46639694faa60acab57 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: Found 2 pylint issue(s) which need to be resolved: | |
ERROR: plugins/modules/my_module.py:239:25: unnecessary-lambda: Lambda may not be necessary | |
ERROR: tests/sanity/ignore-2.9.txt:1:1: ansible-test: Ignoring 'W0108' on 'plugins/modules/my_module.py' is unnecessary | |
ignore-2.9.txt | |
plugins/modules/my_module.py pylint:W0108 | |
The line in question | |
portSets is a list | |
I need to create external_ports as a list of list. | |
external_ports = [] | |
list(map(lambda i: external_ports.extend(i), portSets)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment