show.kid template
by Josh Kayse
This patch fixes a bug where comment.author is shown instead of the
actual author of a comment for package nvr update listings.
diff --git a/bodhi/templates/show.kid b/bodhi/templates/show.kid
index 486dc96..1744d42 100644
--- a/bodhi/templates/show.kid
+++ b/bodhi/templates/show.kid
@@ -255,7 +255,7 @@ karma = "<img src=\"%s\" align=\"top\" /> <b>%d</b>"
% (tg.url('/static/images/k
</div>
</div>
<div py:if="not comment.anonymous">
- <b>${comment.author}</b> - ${comment.timestamp}<br/>
+ <b>comment.author</b> - ${comment.timestamp}<br/>
</div>
<pre><div py:replace="comment.text">Comment</div></pre>
</div>
--
A: No.
Q: Should I include quotations after my reply?
Don't top post: see http://www.caliburn.nl/topposting.html for more.
14 years, 3 months
bodhi/templates
by Mathieu Bridon
bodhi/templates/show.kid | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8def0ca5f8f3786f4b71f31b46910e1425400f62
Author: Josh Kayse <joshkayse(a)fedoraproject.org>
Date: Fri Feb 5 09:37:44 2010 -0500
show the actual author instead of comment.author for package nvr update showing
diff --git a/bodhi/templates/show.kid b/bodhi/templates/show.kid
index 1744d42..486dc96 100644
--- a/bodhi/templates/show.kid
+++ b/bodhi/templates/show.kid
@@ -255,7 +255,7 @@ karma = "<img src=\"%s\" align=\"top\" /> <b>%d</b>" % (tg.url('/static/images/k
</div>
</div>
<div py:if="not comment.anonymous">
- <b>comment.author</b> - ${comment.timestamp}<br/>
+ <b>${comment.author}</b> - ${comment.timestamp}<br/>
</div>
<pre><div py:replace="comment.text">Comment</div></pre>
</div>
14 years, 3 months
bodhi/model.py
by Luke Macken
bodhi/model.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit bb418d5d6b69a76bfbf3686aee23d7493d4e7dd2
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu Feb 4 01:27:10 2010 -0500
Close bugs with FIXEDIN `name-version-release`, instead of just `version-release`
diff --git a/bodhi/model.py b/bodhi/model.py
index 4a7c14e..6d0b539 100644
--- a/bodhi/model.py
+++ b/bodhi/model.py
@@ -1039,12 +1039,11 @@ class Bugzilla(SQLObject):
"""
bz = Bugzilla.get_bz()
try:
- ver = '-'.join(get_nvr(update.builds[0].nvr)[-2:])
bug = bz.getbug(self.bz_id)
if bug.product != 'Fedora' and bug.product != 'Fedora EPEL':
log.warning("Not closing %r bug" % bug.product)
return
- bug.close('ERRATA', fixedin=ver)
+ bug.close('ERRATA', fixedin=update.builds[0].nvr)
except xmlrpclib.Fault, f:
log.error("Unable to close bug #%d: %s" % (self.bz_id, str(f)))
14 years, 3 months