aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-10-04 21:42:18 +0000
committerPascal Terjan <pterjan@mageia.org>2018-10-04 21:42:41 +0000
commit4681a385f76aad7d285f17f67a530d06312fc3bb (patch)
treee3a06c2c6b6933992e535d650b2bc22155c76b29 /MgaRepo
parentf05d7bf3e8b8d594086115bc0a8ba8939fd6bed5 (diff)
downloadmgarepo-4681a385f76aad7d285f17f67a530d06312fc3bb.tar
mgarepo-4681a385f76aad7d285f17f67a530d06312fc3bb.tar.gz
mgarepo-4681a385f76aad7d285f17f67a530d06312fc3bb.tar.bz2
mgarepo-4681a385f76aad7d285f17f67a530d06312fc3bb.tar.xz
mgarepo-4681a385f76aad7d285f17f67a530d06312fc3bb.zip
Drop "not released yet" from rpms
By definitions packages are not released yet when we build them, so all packages get it.
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/log.py6
1 files changed, 1 insertions, 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: