(func, path, *args)
| 267 | "No usable temporary file name found") |
| 268 | |
| 269 | def _dont_follow_symlinks(func, path, *args): |
| 270 | # Pass follow_symlinks=False, unless not supported on this platform. |
| 271 | if func in _os.supports_follow_symlinks: |
| 272 | func(path, *args, follow_symlinks=False) |
| 273 | elif not _os.path.islink(path): |
| 274 | func(path, *args) |
| 275 | |
| 276 | def _resetperms(path): |
| 277 | try: |
no test coverage detected
searching dependent graphs…