MCPcopy Create free account
hub / github.com/apache/cloudstack / mkdirpath

Function mkdirpath

tools/marvin/marvin/deployDataCenter.py:1150–1157  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1148 return ret
1149
1150def mkdirpath(path):
1151 try:
1152 os.makedirs(path)
1153 except OSError as exc:
1154 if exc.errno == errno.EEXIST and os.path.isdir(path):
1155 pass
1156 else:
1157 raise
1158
1159if __name__ == "__main__":
1160 '''

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected