Message49337
Logged In: YES
user_id=764593
Correct, the values in the dictionaries should be callables
(usually a function) which take the old value and return the
new.
That said, the test case would still be useful, because
(1) calling a string should raise a TypeError
(2) making a mistake should not corrupt the database.
Perhaps the first except clause (which triggers a rollback)
needs to be a bare except? I'm guess the same is true of
some of the other abort() lines... |
|
Date |
User |
Action |
Args |
2007-08-23 15:45:21 | admin | link | issue1408584 messages |
2007-08-23 15:45:21 | admin | create | |
|