(path)
| 242 | log("Failed to remove %s, error %s" % (path, e)) |
| 243 | |
| 244 | def rmtree(path): |
| 245 | if os.path.exists(path): |
| 246 | shutil.rmtree(path, onerror=remove_readonly_retry) |
| 247 | |
| 248 | def mac_certificate(codesigning_identity): |
| 249 | if run.command(['security', 'find-identity', '-p', 'codesigning', '-v']).find(codesigning_identity) >= 0: |
no test coverage detected