merge with trunk

This commit is contained in:
Georg Brandl
2010-01-02 21:03:56 +01:00
67 changed files with 3903 additions and 2229 deletions

View File

@@ -184,9 +184,9 @@ def gen_with_app(*args, **kwargs):
def with_tempdir(func):
def new_func():
def new_func(*args, **kwds):
tempdir = path(tempfile.mkdtemp())
func(tempdir)
func(tempdir, *args, **kwds)
tempdir.rmtree()
new_func.__name__ = func.__name__
return new_func