]> projects.mako.cc - iron-blogger/blobdiff - list_punted.py
get a list of punted people
[iron-blogger] / list_punted.py
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?