summaryrefslogtreecommitdiffstats
path: root/ipapython/ipautil.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-03-20 20:54:26 +0100
committerMartin Basti <mbasti@redhat.com>2016-03-22 10:20:51 +0100
commit195e50b93b63e4f30ce83dbcfef278727d48aea2 (patch)
tree17fe09843b3d2b76f73052f6dd0f9843c7c23325 /ipapython/ipautil.py
parentd46cd5d956d1c03b863bf90d0fd0ff4870448183 (diff)
downloadfreeipa-195e50b93b63e4f30ce83dbcfef278727d48aea2.tar.gz
freeipa-195e50b93b63e4f30ce83dbcfef278727d48aea2.tar.xz
freeipa-195e50b93b63e4f30ce83dbcfef278727d48aea2.zip
Pylint: use list comprehension instead of iteration
Iteration over indexes without calling enumeration fuction is not pythonic and should not be used. In this case iteration can be replaced by list comprehension. Fixing this allows to enable pylint consider-using-enumerate check. Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com>
Diffstat (limited to 'ipapython/ipautil.py')
0 files changed, 0 insertions, 0 deletions