(options, source_path, link_path)
| 29 | if e.errno != errno.ENOENT: raise |
| 30 | |
| 31 | def try_symlink(options, source_path, link_path): |
| 32 | if not options.silent: |
| 33 | print('symlinking %s -> %s' % (source_path, link_path)) |
| 34 | try_unlink(link_path) |
| 35 | try_mkdir_r(os.path.dirname(link_path)) |
| 36 | os.symlink(source_path, link_path) |
| 37 | |
| 38 | def try_mkdir_r(path): |
| 39 | try: |
no test coverage detected
searching dependent graphs…