Make gitosis.util.mkdir pass through any os.mkdir args.
This commit is contained in:
parent
421785cf01
commit
c264d696e2
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
import os, errno
|
import os, errno
|
||||||
|
|
||||||
def mkdir(path):
|
def mkdir(*a, **kw):
|
||||||
try:
|
try:
|
||||||
os.mkdir(path)
|
os.mkdir(*a, **kw)
|
||||||
except OSError, e:
|
except OSError, e:
|
||||||
if e.errno == errno.EEXIST:
|
if e.errno == errno.EEXIST:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue