No reason to continuously resolve the k, v pair here since it doesn't change in the inner loop

This commit is contained in:
Thomas Jackson 2015-11-19 20:24:45 -08:00
parent 6d747df5db
commit d687682016

View file

@ -1851,9 +1851,9 @@ class State(object):
for req in low[requisite]:
req = trim_req(req)
found = False
req_key = next(iter(req))
req_val = req[req_key]
for chunk in chunks:
req_key = next(iter(req))
req_val = req[req_key]
if req_val is None:
continue
if req_key == 'sls':