Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #95 from cipi1965/master
Browse files Browse the repository at this point in the history
Fixed regex for Team ID
  • Loading branch information
sah authored Dec 13, 2018
2 parents a073905 + 71ab271 commit 26ad90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isign/signer.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _get_team_id(self):
'-noout'
]
certificate_info = openssl_command(cmd)
subject_with_ou_match = re.compile(r'\s+Subject:.*OU=(\w+)')
subject_with_ou_match = re.compile(r'\s+Subject:.*OU\s?=\s?(\w+)')
for line in certificate_info.splitlines():
match = subject_with_ou_match.match(line)
if match is not None:
Expand Down

0 comments on commit 26ad90f

Please sign in to comment.