Implement @get_workbench decorator
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 12 Dec 2012 12:53:56 +0000 (13:53 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 16 Jan 2013 19:14:55 +0000 (20:14 +0100)
commitf91dcc9d963c87d6b6752cb397e1ff9fdf57ad28
tree50648548fc21c02f509c37f2c92246b0c2d21951
parentc11c1994e61d79c0332f6782a589ea012ecf2473
Implement @get_workbench decorator

This passes in a Workbench() via the 'workbench' keyword argument, and
conveniently cleans it up after the function has finished. 2 out of our 5
backends forgot to clean up their workbench, so this is clearly needed :-).

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/decorators.py