[billreminder] Partial commit; trying to figure out sqlalchemy warning message being generated.
- From: Og B. Maciel <ogmaciel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [billreminder] Partial commit; trying to figure out sqlalchemy warning message being generated.
- Date: Fri, 1 Jan 2010 23:22:21 +0000 (UTC)
commit 69f787b664852bf53820535f61e946f747f749b3
Author: Og B. Maciel <ogmaciel gnome org>
Date: Fri Jan 1 18:21:38 2010 -0500
Partial commit; trying to figure out sqlalchemy warning message being generated.
src/daemon/alarm.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/daemon/alarm.py b/src/daemon/alarm.py
index 62e8538..95d5069 100644
--- a/src/daemon/alarm.py
+++ b/src/daemon/alarm.py
@@ -65,8 +65,9 @@ class Alarm(object):
limit = self.gconf_client.get('notification_days_limit')
print limit
limit = datetime.timedelta(days=limit)
+ end=today+limit
if limit:
- records = self.parent.actions.get_interval_bills(end=today+limit, paid=False)
+ records = self.parent.actions.get_interval_bills(end=end, paid=False)
#'dueDate <= %s AND paid = 0' % (today + limit))
else:
print "No limit"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]