Revision: 6788 Author: nicdumz Date: 2009-05-02 14:09:03 +0000 (Sat, 02 May 2009)
Log Message: ----------- self.botMayEdit -> self.botMayEdit()
Modified Paths: -------------- branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py =================================================================== --- branches/rewrite/pywikibot/page.py 2009-05-02 12:26:17 UTC (rev 6787) +++ branches/rewrite/pywikibot/page.py 2009-05-02 14:09:03 UTC (rev 6788) @@ -675,7 +675,7 @@ watch = False else: unwatch = not watch - if not force and not self.botMayEdit: + if not force and not self.botMayEdit(): raise pywikibot.PageNotSaved( "Page %s not saved; editing restricted by {{bots}} template" % self.title(asLink=True))
pywikipedia-svn@lists.wikimedia.org