bodhi/model.py | 2 +-
bodhi/util.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 29d82128abbb3ec74b1db884da3ef9a7693898cf
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Mar 25 13:27:27 2011 -0400
Hack around urlgrabber's inability to handle unicode strings
diff --git a/bodhi/util.py b/bodhi/util.py
index 76c10b2..c6c73a8 100644
--- a/bodhi/util.py
+++ b/bodhi/util.py
@@ -393,6 +393,7 @@ def sanity_check_repodata(myurl):
Sanity check the repodata for a given repository.
Initial implementation by Seth Vidal.
"""
+ myurl = str(myurl)
tempdir = tempfile.mkdtemp()
errorstrings = []
if myurl[-1] != '/':
commit c36b6b6eff5132f6e7c87bc69d260a9c338471bf
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Mar 25 13:27:10 2011 -0400
Fix a bug in our bugzilla commenting code
diff --git a/bodhi/model.py b/bodhi/model.py
index 52420da..c019e0f 100644
--- a/bodhi/model.py
+++ b/bodhi/model.py
@@ -1335,7 +1335,7 @@ class Bugzilla(SQLObject):
repo = 'epel-testing'
message = self.testing_msg % (
update.get_title(delim=', '),
- release.long_name, repo, update.get_title(), reboot,
+ update.release.long_name, repo, update.get_title(), reboot,
config.get('base_address') + tg_url(update.get_url()))
else:
message = self.stable_msg % (update.get_title(delim=', '),
Show replies by date