dd637dd30c9a — Steve Fink 4 years ago
Unbreak where I iterated improperly
1 files changed, 2 insertions(+), 2 deletions(-)

M __init__.py
M __init__.py +2 -2
@@ 844,8 844,8 @@ def choose_prodcomponent(ui, repo, cache
     if component is not None:
         components = filter_strings(components, component, drop_lesser=True)
         products = [p
-                    for p, v in products.items()
-                    if len(set(v['component'].keys()) & set(components)) > 0]
+                    for p in products
+                    if len(set(products_info[p]['component'].keys()) & set(components)) > 0]
 
     # Now choose a final product::component (unless finalize is false, in which
     # case if there are multiple possibilities, the passed-in value will be