From 4681a385f76aad7d285f17f67a530d06312fc3bb Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 4 Oct 2018 21:42:18 +0000 Subject: Drop "not released yet" from rpms By definitions packages are not released yet when we build them, so all packages get it. --- MgaRepo/log.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/MgaRepo/log.py b/MgaRepo/log.py index 22dc3eb..dca003f 100644 --- a/MgaRepo/log.py +++ b/MgaRepo/log.py @@ -329,11 +329,7 @@ def dump_file(releases, currentlog=None, template=None): if not releases_author[-1].visible: releases_author = releases_author[:-1] for rel in releases_author: - if not rel.released: - unreleased = " (not released yet)\n" - else: - unreleased = "" - draft = draft + "* {0} {1} <{2}> {3}-{4}\n{5}+ Revision: {6}\n".format(rel.date, rel.author_name, rel.author_email, rel.version, rel.release, unreleased, rel.revision) + draft = draft + "* {0} {1} <{2}> {3}-{4}\n+ Revision: {5}\n".format(rel.date, rel.author_name, rel.author_email, rel.version, rel.release, rel.revision) if not rel.visible: draft = draft + "+ rebuild (emptylog)\n" for rev in rel.release_revisions: -- cgit v1.2.1