diff --git a/release_gitter.py b/release_gitter.py index 0b12052..a722528 100755 --- a/release_gitter.py +++ b/release_gitter.py @@ -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)