Shorten Workbench(Manager) method names
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 12 Dec 2012 13:08:38 +0000 (14:08 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 16 Jan 2013 19:19:25 +0000 (20:19 +0100)
commitbd6fe9774693a241e99138c987f71b80d968bdc3
tree1e17b4ca9435803e0ecafc695f8fe7c7b6fe692a
parent45ab3e07ef26199572207f5d826e6d912eb5b336
Shorten Workbench(Manager) method names

1) destroy_self() is a horrible function name, make it "destroy".
workbench.destroy() is descriptive enough.

2) WorkbenchManager.create_workbench() -> WorkbenchManager.create()
  We use the pattern "with workbench_manager.create() as workbench:"
  No need to mention workbenches three times in a row...

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