(codesigning_identity)
| 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: |
| 250 | return codesigning_identity |
| 251 | else: |
| 252 | return None |
| 253 | |
| 254 | def sign_file(platform, options, file): |
| 255 | if platform_is_windows(platform): |
no test coverage detected