bodhi/util.py | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 805c30bba0e457fa21cc90700aeff7fc735796bd
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue Feb 10 21:31:20 2009 -0500
Import a SQLObject construct in our utils
diff --git a/bodhi/util.py b/bodhi/util.py
index 0561455..d8bea86 100644
--- a/bodhi/util.py
+++ b/bodhi/util.py
@@ -449,6 +449,7 @@ def reset_date_pushed():
a date_pushed field, so we had to recreate it based on bodhi's comments.
"""
from bodhi.model import PackageUpdate
+ from sqlobject import AND
for update in PackageUpdate.select(AND(PackageUpdate.q.date_pushed==None,
PackageUpdate.q.status=='testing')):
date = None
Show replies by date