diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-05-16 16:56:20 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-05-16 16:56:20 -0500 |
commit | 0ae38290488e39f2b3d0ec1248f0b78a6dceeba6 (patch) | |
tree | 271fa921cea6798a872136fefa143cc25ac49961 /mediagoblin/tests/test_modelmethods.py | |
parent | ff97bbe94450c9587b146ab67feadd0b01817acb (diff) | |
download | mediagoblin-0ae38290488e39f2b3d0ec1248f0b78a6dceeba6.tar.lz mediagoblin-0ae38290488e39f2b3d0ec1248f0b78a6dceeba6.tar.xz mediagoblin-0ae38290488e39f2b3d0ec1248f0b78a6dceeba6.zip |
Fixing bug in dbupdate where it would explode on plugin that is missing MODELS or MIGRATIONS
The reason it blew up was because in the latter caught exception, it
wouldn't set models/migrations to an empty set, so it would actually
use the previous run's models/migrations! That's what we get for
"leaky" variables on python for loops :)
This commit sponsored by Pascal Diogo Antunes. Thank you!
Diffstat (limited to 'mediagoblin/tests/test_modelmethods.py')
0 files changed, 0 insertions, 0 deletions