projects
/
iron-blogger
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74c51b
)
get a list of punted people
author
Benjamin Mako Hill
<mako@atdot.cc>
Tue, 22 May 2012 21:38:51 +0000
(17:38 -0400)
committer
Benjamin Mako Hill
<mako@atdot.cc>
Tue, 22 May 2012 21:39:12 +0000
(17:39 -0400)
list_punted.py
[new file with mode: 0755]
patch
|
blob
diff --git a/list_punted.py
b/list_punted.py
new file mode 100755
(executable)
index 0000000..
56e03be
--- /dev/null
+++ b/
list_punted.py
@@ -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?