commit | a72f2c6fb7105d29afe23252273026ad385181b3 | [log] [tgz] |
---|---|---|
author | Joe H. Rahme <jhakimra@redhat.com> | Mon Jul 11 16:28:19 2016 +0200 |
committer | Joe H. Rahme <jhakimra@redhat.com> | Mon Jul 11 16:45:22 2016 +0200 |
tree | 04ab13c36e8da5f6f55fbba17de487c5b5c7decc | |
parent | 20d880abecb60085dcfa557ab5b768babfc7da66 [diff] |
Removes explicit looping over dict .keys() method Looping over the .keys() method of a dictionary is an anti-pattern. In fact, the method is actually creating a new list which is redundant and unnecessary. Looping over a dictionary implicitly loops over its keys. Change-Id: I937d3f060bf95bb86e50fcb5dec8def524f6208e