]> projects.mako.cc - iron-blogger/commitdiff
get a list of punted people
authorBenjamin Mako Hill <mako@atdot.cc>
Tue, 22 May 2012 21:38:51 +0000 (17:38 -0400)
committerBenjamin Mako Hill <mako@atdot.cc>
Tue, 22 May 2012 21:39:12 +0000 (17:39 -0400)
list_punted.py [new file with mode: 0755]

diff --git a/list_punted.py b/list_punted.py
new file mode 100755 (executable)
index 0000000..56e03be
--- /dev/null
@@ -0,0 +1,18 @@
+#!/usr/bin/python
+import yaml
+
+f = open('bloggers.yml')
+users = yaml.safe_load(f)
+
+class User(object):
+    pass
+
+for (un, rec) in users.items():
+    u = User()
+    u.username = un
+    u.end   = rec.get('end')
+    
+    if u.end:
+        print "%s (punted: %s)" % (u.username, u.end)
+
+

Benjamin Mako Hill || Want to submit a patch?