summaryrefslogtreecommitdiff
path: root/branding/scripts/osx-staple-status.py
blob: 6ee9943ec5843ca06f787f3a5c12f8cab16f39cc (plain)
1
2
3
4
5
#!/usr/bin/env python3
import sys
arg = sys.argv[1]
line = [x for x in arg.split('\n') if x.startswith('Status:')]
print(line[0].split('Status: ')[-1])