Skip to content
Snippets Groups Projects
Commit bd61a365 authored by James Wynne III's avatar James Wynne III Committed by Todd Gamblin
Browse files

Fixed set operation from undefined += to a union (#1963)

Fixed flake8 issues
parent b7a612dc
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,8 @@ def merge(self, other):
spdict[provided_spec] = opdict[provided_spec]
continue
spdict[provided_spec] += opdict[provided_spec]
spdict[provided_spec] = \
spdict[provided_spec].union(opdict[provided_spec])
def remove_provider(self, pkg_name):
"""Remove a provider from the ProviderIndex."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment