mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-28 09:06:44 -06:00
c61151f6aa
Pylint3 falsely reports warning W1662: using a variable that was bound inside a comprehension for the cases where the same name is reused for a loop after the comprehension in question. Rename the variable in a loop to avoid it. If the code looks like the following: arr = [f for f in filters if callable(f)] for f in arr: result = result + f() pylint3 would consider 'f' used outside of comprehension. Clearly, this is a false-positive warning as the second 'f' use is completely independent of the comprehension's use of 'f'. Reviewed-By: Aleksei Slaikovskii <aslaikov@redhat.com> |
||
---|---|---|
.. | ||
csrgen | ||
install | ||
plugins | ||
remote_plugins | ||
__init__.py | ||
__main__.py | ||
csrgen_ffi.py | ||
csrgen.py | ||
frontend.py | ||
Makefile.am | ||
setup.cfg | ||
setup.py |