Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: build/config/ios/find_signing_identity.py

Issue 2470343002: Fix iOS code signing issue (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ios/find_signing_identity.py
diff --git a/build/config/ios/find_signing_identity.py b/build/config/ios/find_signing_identity.py
index 67a13a65305bcf6f612bd1a579d470b7362c5f37..736e2e4b5c919d96267da27a7ddb3aec4d0b7341 100644
--- a/build/config/ios/find_signing_identity.py
+++ b/build/config/ios/find_signing_identity.py
@@ -16,11 +16,11 @@ def ListIdentities():
'-v',
'-p',
'codesigning',
- ]).strip()
+ ])
def FindValidIdentity():
- lines = ListIdentities().splitlines()
+ lines = list(map(str.strip, ListIdentities().splitlines()))
# Look for something like "2) XYZ "iPhone Developer: Name (ABC)""
exp = re.compile('[0-9]+\) ([A-F0-9]+) "([^"]*)"')
for line in lines:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698