Mercurial > p > roundup > code
diff roundup/roundupdb.py @ 2077:3e0961d6d44d
Added the "actor" property.
Metakit backend not done (still not confident I know how it's supposed
to work ;)
Currently it will come up as NULL in the RDBMS backends for older items.
The *dbm backends will look up the journal. I hope to remedy the former
before 0.7's release.
Fixed a bunch of migration issues in the rdbms backends while I was at it
(index changes for key prop changes) and simplified the class table update
code for RDBMSes that have "alter table" in their command set (ie. not
sqlite) ... migration from "version 1" to "version 2" still hasn't
actually been tested yet though.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 15 Mar 2004 05:50:20 +0000 |
| parents | 261c2e6ceb1e |
| children | 93f03c6714d8 |
line wrap: on
line diff
--- a/roundup/roundupdb.py Fri Mar 12 05:36:26 2004 +0000 +++ b/roundup/roundupdb.py Mon Mar 15 05:50:20 2004 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundupdb.py,v 1.100 2004-03-05 00:08:09 richard Exp $ +# $Id: roundupdb.py,v 1.101 2004-03-15 05:50:19 richard Exp $ """Extending hyperdb with types specific to issue-tracking. """ @@ -408,7 +408,7 @@ for key in oldvalues.keys(): if key in ['files','messages']: continue - if key in ('activity', 'creator', 'creation'): + if key in ('actor', 'activity', 'creator', 'creation'): continue # not all keys from oldvalues might be available in database # this happens when property was deleted
