ltmpl: Fix package logging format
epoch wasn't included in the lorax-packages.log, but arch is. And for the debuginfo the epoch, including 0, *is* included. This should match the previous output. Resolves: rhbz#1815000
This commit is contained in:
parent
bc6a080af7
commit
d6ce9c907d
@ -260,7 +260,7 @@ class LoraxTemplateRunner(TemplateRunner):
|
||||
pkgs = []
|
||||
debug_pkgs = []
|
||||
for p in list(self.dbo.transaction.install_set):
|
||||
pkgs.append(f"{p.name}-{p.epoch}:{p.version}-{p.release}")
|
||||
pkgs.append(f"{p.name}-{p.version}-{p.release}.{p.arch}")
|
||||
if available.filter(name=p.name+"-debuginfo"):
|
||||
debug_pkgs.append(f"{p.name}-debuginfo-{p.epoch}:{p.version}-{p.release}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user