Patches item #2848560, was opened at 2009-09-01 18:37 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: robertm (matekrm) Assigned to: Nobody/Anonymous (nobody) Summary: wikipedia.Page.previousRevision throw exception
Initial Comment: The IndexError exception is thrown when trying to call wikipedia.Page.previousRevision () method. The problem occur on latest pywikipedia version. Attached patch fix the problem.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-09-26 14:30
Message: This bugfix is wrong of cause it doesn't get the prevous version but the last one. The index error should be handled with an error exception. It indicates that there is no version history.
----------------------------------------------------------------------
Comment By: siebrand (siebrand) Date: 2009-09-25 01:58
Message: r7306. Thanks.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560...
pywikipedia-bugs@lists.wikimedia.org