aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-14 09:36:10 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-14 09:36:10 +0000
commit4a6a61240c92fe7819a12956728445e5563c1071 (patch)
tree2ba4c2ea8a5cee759cb597d93068ba74e6c1d378 /web
parentFix rendering of ebuilds with multiple HOMEPAGEs. (diff)
downloadpackages-4a6a61240c92fe7819a12956728445e5563c1071.tar.gz
packages-4a6a61240c92fe7819a12956728445e5563c1071.tar.bz2
packages-4a6a61240c92fe7819a12956728445e5563c1071.zip
Use correct homepage.
Diffstat (limited to 'web')
-rw-r--r--web/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/model.py b/web/model.py
index 05b6302..40a6d04 100644
--- a/web/model.py
+++ b/web/model.py
@@ -410,7 +410,7 @@ class PackageDB(object):
pkg['homepage'] = []
homepages = pkg_metadata['homepage'].split()
if len(homepages) == 1:
- url = pkg_metadata['homepage']
+ url = homepages[0]
l = '<a href="%s">%s</a>' % (url, 'Homepage')
pkg['homepage'].append(l)
else: