bodhi.egg-info/PKG-INFO | 2 +-
bodhi.spec | 6 +++++-
bodhi/controllers.py | 6 +++++-
bodhi/release.py | 2 +-
4 files changed, 12 insertions(+), 4 deletions(-)
New commits:
commit e15189819b8921f97b7e380fef4f7f5df7dbb3c1
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue May 12 13:09:44 2009 -0400
0.5.25
diff --git a/bodhi.egg-info/PKG-INFO b/bodhi.egg-info/PKG-INFO
index a6e247f..70a9487 100644
--- a/bodhi.egg-info/PKG-INFO
+++ b/bodhi.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: bodhi
-Version: 0.5.24
+Version: 0.5.25
Summary: Bodhi is a modular web-system that facilitates the process of publishing updates
for a Fedora-based software distribution
Home-page:
https://fedorahosted.org/bodhi
Author: Luke Macken
diff --git a/bodhi.spec b/bodhi.spec
index 8a56859..5b3860d 100644
--- a/bodhi.spec
+++ b/bodhi.spec
@@ -2,7 +2,7 @@
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print
sys.version[:3]")}
Name: bodhi
-Version: 0.5.24
+Version: 0.5.25
Release: 1%{?dist}
Summary: A modular framework that facilitates publishing software updates
Group: Applications/Internet
@@ -114,6 +114,10 @@ rm -rf bodhi/tests bodhi/tools/test-bodhi.py
%changelog
+* Tue May 12 2009 Luke Macken <lmacken(a)redhat.com> - 0.5.25-1
+- Latest upstream bugfix release to work around some TG 1.0.8
+ brokenness, and make our masher a bit more robust.
+
* Tue May 12 2009 Luke Macken <lmacken(a)redhat.com> - 0.5.24-1
- 0.5.24 bugfix release
diff --git a/bodhi/release.py b/bodhi/release.py
index 2f7e262..50a9347 100644
--- a/bodhi/release.py
+++ b/bodhi/release.py
@@ -1,4 +1,4 @@
-VERSION = '0.5.24'
+VERSION = '0.5.25'
NAME = 'bodhi'
DESCRIPTION = 'Bodhi is a modular web-system that facilitates the process of
publishing updates for a Fedora-based software distribution'
AUTHOR = 'Luke Macken'
commit cb82103057cf8ddd29519cca99420c891535501b
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue May 12 13:08:32 2009 -0400
Another hack to work around broken stacked validators
diff --git a/bodhi/controllers.py b/bodhi/controllers.py
index 8a31c23..10a68bb 100644
--- a/bodhi/controllers.py
+++ b/bodhi/controllers.py
@@ -985,7 +985,7 @@ class Root(controllers.RootController):
@expose(allow_json=True)
@error_handler()
- @validate(validators={'karma': validators.Int()})
+ #@validate(validators={'karma': validators.Int()})
@validate(form=comment_form)
@identity.require(identity.not_anonymous())
def comment(self, text, title, karma=0, tg_errors=None):
@@ -997,6 +997,10 @@ class Root(controllers.RootController):
:karma: The karma of this comment (-1, 0, 1)
"""
+ try:
+ karma = int(karma)
+ except:
+ pass
if tg_errors:
flash_log(tg_errors)
elif karma not in (0, 1, -1):