[Pywikipedia-svn] SVN: [7209] trunk/pywikipedia/protect.py

alexsh at svn.wikimedia.org alexsh at svn.wikimedia.org
Fri Sep 4 14:27:40 UTC 2009


Revision: 7209
Author:   alexsh
Date:     2009-09-04 14:27:40 +0000 (Fri, 04 Sep 2009)

Log Message:
-----------
fix params

Modified Paths:
--------------
    trunk/pywikipedia/protect.py

Modified: trunk/pywikipedia/protect.py
===================================================================
--- trunk/pywikipedia/protect.py	2009-09-04 14:20:02 UTC (rev 7208)
+++ trunk/pywikipedia/protect.py	2009-09-04 14:27:40 UTC (rev 7209)
@@ -119,7 +119,7 @@
             wikipedia.output(u'Processing page %s' % page.title())
             print self.edit, self.move#, self.create
             page.protect(unprotect=self.unprotect, reason=self.summary, prompt=self.always,
-                        edit=self.edit, move=self.move)
+                        ec=self.edit, move=self.move)
 
 # Asks a valid protection level for "operation".
 # Returns the protection level chosen by user.





More information about the Pywikipedia-svn mailing list