From c264d696e247be00515056093d857ccf51ea5f4f Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Sat, 1 Sep 2007 16:24:55 -0700 Subject: [PATCH] Make gitosis.util.mkdir pass through any os.mkdir args. --- gitosis/test/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitosis/test/util.py b/gitosis/test/util.py index a56de28..b5c19ca 100644 --- a/gitosis/test/util.py +++ b/gitosis/test/util.py @@ -1,8 +1,8 @@ import os, errno -def mkdir(path): +def mkdir(*a, **kw): try: - os.mkdir(path) + os.mkdir(*a, **kw) except OSError, e: if e.errno == errno.EEXIST: pass