Make gitosis.util.mkdir pass through any os.mkdir args.
This commit is contained in:
parent
421785cf01
commit
c264d696e2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue