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

Fixed flake8 issues
This commit is contained in:
James Wynne III 2016-10-11 04:30:11 -04:00 committed by Todd Gamblin
parent b7a612dcdf
commit bd61a36587

View File

@ -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."""