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:
parent
5837d10a1c
commit
60de1b0ca0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue