Remove walrus operator to fix for python3.7
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Python 3.7 goes into end of support mode tomorrow, 2023-06-27, but will likely be in wide use for some time after
This commit is contained in:
parent
ab1f25304b
commit
b0e327e2cd
@ -319,7 +319,8 @@ class PackageAdapter:
|
||||
self._package.extractall(path=path)
|
||||
return self.get_names()
|
||||
|
||||
if missing_members := set(members) - set(self.get_names()):
|
||||
missing_members = set(members) - set(self.get_names())
|
||||
if missing_members:
|
||||
raise ValueError(f"Missing members: {missing_members}")
|
||||
|
||||
if isinstance(self._package, ZipFile):
|
||||
|
Loading…
Reference in New Issue
Block a user