Forgot walrus aren't supported in py37
This commit is contained in:
parent
04fa347d28
commit
1bd66e42de
@ -380,7 +380,9 @@ class PackageAdapter:
|
||||
|
||||
return self.get_names()
|
||||
|
||||
if missing_members := set(members) - set(self.get_names()):
|
||||
# TODO: Use walrus operator when dropping 3.7 support
|
||||
missing_members = set(members) - set(self.get_names())
|
||||
if missing_members:
|
||||
raise ValueError(f"Missing members: {missing_members}")
|
||||
|
||||
logging.debug("Extracting members %s to %s", members, path)
|
||||
|
Loading…
Reference in New Issue
Block a user