summaryrefslogtreecommitdiff
path: root/branding/scripts/osx-staple-status.py
diff options
context:
space:
mode:
Diffstat (limited to 'branding/scripts/osx-staple-status.py')
-rwxr-xr-xbranding/scripts/osx-staple-status.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/branding/scripts/osx-staple-status.py b/branding/scripts/osx-staple-status.py
new file mode 100755
index 0000000..6ee9943
--- /dev/null
+++ b/branding/scripts/osx-staple-status.py
@@ -0,0 +1,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])