lib.Distro.pkg_ext: Fix call to os_cascade

The Distro.pkg_ext property calls .os_cascade, which is a property, with parenthesis. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-04-27 07:10:07 +02:00
commit 60de1b0ca0
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -205,7 +205,7 @@ class Distro(abc.ABC):
@cached_property @cached_property
def pkg_ext(self) -> str: def pkg_ext(self) -> str:
for entry in self.os_cascade(): for entry in self.os_cascade:
ret = entry.replace('pkg-', '') ret = entry.replace('pkg-', '')
if ret != entry: if ret != entry:
return ret return ret