Fixed set operation from undefined += to a union (#1963)
Fixed flake8 issues
This commit is contained in:
parent
b7a612dcdf
commit
bd61a36587
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user