projects
/
iron-blogger
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6154b0a
)
fix bugs in the update-participants.py move to the new config
author
Benjamin Mako Hill
<mako@atdot.cc>
Tue, 14 Aug 2012 14:36:41 +0000
(10:36 -0400)
committer
Benjamin Mako Hill
<mako@atdot.cc>
Tue, 14 Aug 2012 14:36:41 +0000
(10:36 -0400)
update-participants.py
patch
|
blob
|
history
diff --git
a/update-participants.py
b/update-participants.py
index 29b002c437ec87b485e163a8fe9e36f75a5edf83..b3d0c2b2f6f54609e47e59a2b29243356840dbbd 100755
(executable)
--- a/
update-participants.py
+++ b/
update-participants.py
@@
-6,7
+6,7
@@
import sys
import xmlrpclib
import subprocess
-import config
+from config import *
try:
subprocess.call(['stty', '-echo'])
@@
-21,4
+21,4
@@
page = x.wp.getPage(BLOG_ID, PARTICIPANTS_PAGE_ID, USER, passwd)
text = render.render_template('templates/users.tmpl')
page['description'] = text
-x.wp.editPage(BLOG_ID, PAGE_ID, USER, passwd, page, True)
+x.wp.editPage(BLOG_ID, PA
RTICIPANTS_PA
GE_ID, USER, passwd, page, True)
Benjamin Mako Hill
||
Want to submit a patch?