summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2011-11-10 16:47:17 (GMT)
committerLuke Macken <lmacken@redhat.com>2011-11-10 16:47:30 (GMT)
commit59b88ad20e4211f9e2847ac5a1369e75d6c5ce1a (patch)
tree679116a9744d411d018e4d317594a3db5369936a
parentc142529b16aee135dbdb627796c914ad0ebca20c (diff)
downloadfedoracommunity-59b88ad20e4211f9e2847ac5a1369e75d6c5ce1a.zip
fedoracommunity-59b88ad20e4211f9e2847ac5a1369e75d6c5ce1a.tar.gz
fedoracommunity-59b88ad20e4211f9e2847ac5a1369e75d6c5ce1a.tar.xz
Only show the version-release in the 'latest build' section
-rw-r--r--fedoracommunity/widgets/package/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fedoracommunity/widgets/package/package.py b/fedoracommunity/widgets/package/package.py
index 8ea73d3..d0605fc 100644
--- a/fedoracommunity/widgets/package/package.py
+++ b/fedoracommunity/widgets/package/package.py
@@ -94,7 +94,8 @@ class PackageWidget(twc.Widget):
try:
builds = koji._koji_client.getLatestBuilds('dist-rawhide', package=name)
if builds:
- self.latest_build = builds[0]['nvr']
+ self.latest_build = builds[0]['version'] + '-' + \
+ builds[0]['release']
else:
self.latest_build = 'Not built in rawhide'
except Exception, e: