diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-11-30 16:14:05 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-12-03 15:40:57 -0600 |
commit | a4768df0ca2e956f245e0833331ed8abb203937a (patch) | |
tree | df90466eef7ad4e739d703c1a98b8dd4fdd802a4 /mediagoblin/oauth/oauth.py | |
parent | 9d82dff6fb4738b4efb1a7d3280562578f54ed08 (diff) | |
download | mediagoblin-a4768df0ca2e956f245e0833331ed8abb203937a.tar.lz mediagoblin-a4768df0ca2e956f245e0833331ed8abb203937a.tar.xz mediagoblin-a4768df0ca2e956f245e0833331ed8abb203937a.zip |
Context objects now use a contextmanager (and update gmg shell to use it)
This means that we have a really convenient way to make sure that you
have a context/request that threads its way through the application,
where everything needed gets "shut down" appropriately by the end.
You always get a context object via a context manager! And by the time
you're done with it, things should be cleaned up.
Diffstat (limited to 'mediagoblin/oauth/oauth.py')
0 files changed, 0 insertions, 0 deletions