[Pywikipedia-l] [ pywikipediabot-Bugs-2539701 ] redirect.py Exception handing

SourceForge.net noreply at sourceforge.net
Tue Jan 27 07:32:48 UTC 2009


Bugs item #2539701, was opened at 2009-01-27 07:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2539701&group_id=93107

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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py Exception handing

Initial Comment:
Running through yi-wiki I've found that there should be an additional exception handling for the get_moved_pages_redirects - Method in redirect.py as follows:

  except wikipedia.NoPage:
      # original title must have been deleted after move
      continue

+ except wikipedia.IsNotRedirectPage:
+     continue



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2539701&group_id=93107



More information about the Pywikipedia-l mailing list