Move db/open.py to db/mongo/open.py
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Tue, 20 Dec 2011 18:06:04 +0000 (19:06 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Tue, 20 Dec 2011 18:06:04 +0000 (19:06 +0100)
commit046f9f8481a8950ce18dfc8b4f14e4d14cf59c7a
treecd0b0d3220c0a318d3b6fa8ecfa02306023cce64
parent7b194a79f0ad789309b9c34340f19c5a962b0915
Move db/open.py to db/mongo/open.py

Starting to move the mongo specific stuff into db/mongo.
And create thin "from db.mongo.Y import z" wrappers in
db/Y.py.

Why?
1) Will make it lots easier to switch to sql for
   testing/developing.
2) The mongo stuff needs to stay around after moving to
   sql, because the converter needs it.
mediagoblin/db/mongo/__init__.py [new file with mode: 0644]
mediagoblin/db/mongo/open.py [new file with mode: 0644]
mediagoblin/db/open.py