summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-06-26 20:41:59 +0200
committerCarl Hetherington <cth@carlh.net>2023-06-26 20:41:59 +0200
commitb2d05032be105bd3009234be80afae5a834892c1 (patch)
tree17ba3e8aa6cf61b0c5009be84e6ce3e06460ae46
parent76db6f85904493ac0edf1552c44f48860c165c41 (diff)
fixup! Use notarytool instead of altool for notarizing macOS apps.notarytool
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index 2c0f0a5..b9687d7 100755
--- a/cdist
+++ b/cdist
@@ -759,7 +759,7 @@ def notarize_dmg(dmg):
dmg
], capture_output=True)
- last_line = p.stdout.decode('utf-8').splitlines()[-1].split()
+ last_line = [x.strip() for x in p.stdout.decode('utf-8').splitlines() if x.strip()][-1]
if last_line != 'status: Accepted':
print("Could not understand notarytool response")
print(p)