(options, path)
| 42 | if e.errno != errno.EEXIST: raise |
| 43 | |
| 44 | def try_rmdir_r(options, path): |
| 45 | path = abspath(path) |
| 46 | while is_child_dir(path, options.install_path): |
| 47 | try: |
| 48 | os.rmdir(path) |
| 49 | except OSError as e: |
| 50 | if e.errno == errno.ENOTEMPTY: return |
| 51 | if e.errno == errno.ENOENT: return |
| 52 | if e.errno == errno.EEXIST and current_system == SYSTEM_AIX: return |
| 53 | raise |
| 54 | path = abspath(path, '..') |
| 55 | |
| 56 | def mkpaths(options, path, dest): |
| 57 | if dest.endswith('/') or dest.endswith('\\'): |
no test coverage detected
searching dependent graphs…