summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2013-05-14 14:50:36 +0000
committerSeth Vidal <skvidal@fedoraproject.org>2013-05-14 14:50:36 +0000
commit4a496a72c8fc04fe2e8781232561da768e26cc9b (patch)
tree3fc46c40777079b4a501f6e1bdc369591525b215 /scripts
parentcd911b25590eb8e17f3a87ec813b1a17e7292271 (diff)
add python shebang - add a comment a the top
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/freezelist7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/freezelist b/scripts/freezelist
index 9319edd11..4a883cb86 100755
--- a/scripts/freezelist
+++ b/scripts/freezelist
@@ -1,3 +1,8 @@
+#!/usr/bin/python
+# skvidal
+# dump out the hosts marked with 'freezes: true' in their vars
+
+
import ansible.inventory
import sys
@@ -10,7 +15,7 @@ for host in sorted(inv.get_hosts()):
if freezes:
frozen.append(host.name)
elif freezes == 'None':
- print 'Error: missing freeezes: %s' % host.name
+ print 'Error: missing freezes: %s' % host.name
else:
unfrozen.append(host.name)