diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-13 00:17:06 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-13 00:19:53 +0100 |
commit | cc9f9a1dd3e8f3d0aa642e2a987a9d075e59d3d8 (patch) | |
tree | 63e39612995146162a8f34bac183989d4039dccf /mediagoblin/gmg_commands/shell.py | |
parent | 84812db59dcc7ba476191678a8bb0e1829f3f607 (diff) | |
download | mediagoblin-cc9f9a1dd3e8f3d0aa642e2a987a9d075e59d3d8.tar.lz mediagoblin-cc9f9a1dd3e8f3d0aa642e2a987a9d075e59d3d8.tar.xz mediagoblin-cc9f9a1dd3e8f3d0aa642e2a987a9d075e59d3d8.zip |
Another .one -> .find_one
Same idea as in the previous commit.
Joar caught this one.
To reproduce
1. Create a user with an all-decimal ObjectId in mongo
2. Login using that user, while mongodb is enabled.
3. Switch instance to sql.
4. Restart.
5. Refresh any page.
This will error, because no user with that object id exists
any more.
While around, improved logging.
Diffstat (limited to 'mediagoblin/gmg_commands/shell.py')
0 files changed, 0 insertions, 0 deletions