aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_api.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-05-16 16:56:20 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-05-16 16:56:20 -0500
commit0ae38290488e39f2b3d0ec1248f0b78a6dceeba6 (patch)
tree271fa921cea6798a872136fefa143cc25ac49961 /mediagoblin/tests/test_api.py
parentff97bbe94450c9587b146ab67feadd0b01817acb (diff)
downloadmediagoblin-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_api.py')
0 files changed, 0 insertions, 0 deletions