dbupdate: Correctly handle plugin foundations
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 25 Mar 2016 22:26:07 +0000 (15:26 -0700)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 26 Mar 2016 18:39:08 +0000 (11:39 -0700)
commite3cfc9a84f07265000a383f0df50c0655986cdf3
treebf746304f8956abbc6699d42e2b148dfd9316a9c
parent5409a6cf2314dd6269067f169bfca200ebee13cb
dbupdate: Correctly handle plugin foundations

* mediagoblin/gmg_commands/dbupdate.py (run_foundations):
  When adding a plugin's foundations, correctly append both
  the name and the foundations in a tuple to the list.
  This prevents errors.
mediagoblin/gmg_commands/dbupdate.py