Remove walrus operator to fix for python3.7
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:
IamTheFij 2023-06-26 16:14:34 -07:00
parent ab1f25304b
commit b0e327e2cd

View File

@ -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):