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: |