Initialize new_specs in Environment.remove() (#17592)
This commit is contained in:
parent
54bce00d4d
commit
02f14fd857
@ -933,6 +933,7 @@ def remove(self, query_spec, list_name=user_speclist_name, force=False):
|
||||
"Not found: {0}".format(query_spec))
|
||||
|
||||
old_specs = set(self.user_specs)
|
||||
new_specs = set()
|
||||
for spec in matches:
|
||||
if spec in list_to_change:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user