http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9724
Revision: 9724 Author: a_engels Date: 2011-11-03 07:13:50 +0000 (Thu, 03 Nov 2011) Log Message: ----------- bugfix: bot incorrectly noted edit conflicts on semiprotected pages
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2011-11-02 12:18:32 UTC (rev 9723) +++ trunk/pywikipedia/wikipedia.py 2011-11-03 07:13:50 UTC (rev 9724) @@ -1742,7 +1742,7 @@ # self.get() calls self._getEditPage without this parameter self.get(force=True, change_edit_time=True) newtime = self.editTime() - if oldtime != newtime: # page was changed + if str(oldtime) != str(newtime): # page was changed raise EditConflict(u'Page has been changed after first read.') self._editrestriction = False # If no comment is given for the change, use the default