Mercurial > p > roundup > code
diff roundup/backends/back_metakit.py @ 3384:6d6d7e331c54 maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 12 Jul 2005 01:43:17 +0000 |
| parents | 985ba73ca6ad |
| children |
line wrap: on
line diff
--- a/roundup/backends/back_metakit.py Thu Jul 07 06:44:35 2005 +0000 +++ b/roundup/backends/back_metakit.py Tue Jul 12 01:43:17 2005 +0000 @@ -1,4 +1,4 @@ -# $Id: back_metakit.py,v 1.88.2.5 2005-06-24 06:40:18 richard Exp $ +# $Id: back_metakit.py,v 1.88.2.6 2005-07-12 01:43:17 richard Exp $ '''Metakit backend for Roundup, originally by Gordon McMillan. Known Current Bugs: @@ -1209,8 +1209,6 @@ if __debug__: start_t = time.time() - timezone = self.db.getUserTimezone() - where = {'_isdel':0} wherehigh = {} mlcriteria = {} @@ -1277,7 +1275,7 @@ elif isinstance(prop, hyperdb.Date): try: # Try to filter on range of dates - date_rng = Range(value, date.Date, offset=timezone) + date_rng = prop.range_from_raw (value, self.db) if date_rng.from_value: t = date_rng.from_value.get_tuple() where[propname] = int(calendar.timegm(t))
