diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2022-03-25 17:28:29 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2022-03-25 17:28:29 -0400 |
commit | f17f5ff2725ad0c70cc2ff5f65eb76c2a224a83c (patch) | |
tree | 8a47c2aad56e53b0d577686cce70167dad2efa8f /indra/newview/viewer_manifest.py | |
parent | 9d7f8156c6a1faa10dc0686990e83220a4aebad1 (diff) | |
parent | 2cbc3e530f3a34aaf75e0b4d6f4a16aeadeb90d8 (diff) |
SL-13792: Merge 'brad/viewer-manifest-codesign-fix' into sl-17079
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-rwxr-xr-x | indra/newview/viewer_manifest.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index ae3ed56b3d..c9aa82f7d4 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -1313,9 +1313,8 @@ class DarwinManifest(ViewerManifest): ] for attempt in range(3): if attempt: # second or subsequent iteration - print >> sys.stderr, \ - ("codesign failed, waiting %d seconds before retrying" % - sign_retry_wait) + print("codesign failed, waiting {:d} seconds before retrying".format(sign_retry_wait), + file=sys.stderr) time.sleep(sign_retry_wait) sign_retry_wait*=2 @@ -1345,7 +1344,7 @@ class DarwinManifest(ViewerManifest): # 'err' goes out of scope sign_failed = err else: - print >> sys.stderr, "Maximum codesign attempts exceeded; giving up" + print("Maximum codesign attempts exceeded; giving up", file=sys.stderr) raise sign_failed self.run_command(['spctl', '-a', '-texec', '-vvvv', app_in_dmg]) self.run_command([self.src_path_of("installers/darwin/apple-notarize.sh"), app_in_dmg]) |