Ensure that the parent directory of `path` exists
(path)
| 1228 | del _UNPACK_FORMATS[name] |
| 1229 | |
| 1230 | def _ensure_directory(path): |
| 1231 | """Ensure that the parent directory of `path` exists""" |
| 1232 | dirname = os.path.dirname(path) |
| 1233 | if not os.path.isdir(dirname): |
| 1234 | os.makedirs(dirname) |
| 1235 | |
| 1236 | def _unpack_zipfile(filename, extract_dir): |
| 1237 | """Unpack zip `filename` to `extract_dir` |
no test coverage detected