Delete directory recursively.
(path)
| 1049 | |
| 1050 | |
| 1051 | def rmdir(path): |
| 1052 | """Delete directory recursively.""" |
| 1053 | if os.path.exists(path): |
| 1054 | print("[automate.py] Removing directory %s" % path) |
| 1055 | shutil.rmtree(path, onerror=onerror) |
| 1056 | |
| 1057 | |
| 1058 | def cpdir(src, dst): |
no outgoing calls
no test coverage detected