[Pywikipedia-l] SVN: [6326] branches/rewrite/pywikibot/page.py

russblau at svn.wikimedia.org russblau at svn.wikimedia.org
Thu Feb 5 16:49:13 UTC 2009


Revision: 6326
Author:   russblau
Date:     2009-02-05 16:49:13 +0000 (Thu, 05 Feb 2009)

Log Message:
-----------
typo

Modified Paths:
--------------
    branches/rewrite/pywikibot/page.py

Modified: branches/rewrite/pywikibot/page.py
===================================================================
--- branches/rewrite/pywikibot/page.py	2009-02-05 13:59:48 UTC (rev 6325)
+++ branches/rewrite/pywikibot/page.py	2009-02-05 16:49:13 UTC (rev 6326)
@@ -429,7 +429,7 @@
         """If this is a category redirect, return the target category title."""
         if self.isCategoryRedirect():
             return Category(self.site(), self._catredirect)
-        raise pywikibot.ErrorIsNotRedirectPage
+        raise pywikibot.IsNotRedirectPage
 
     def isEmpty(self):
         """Return True if the page text has less than 4 characters.





More information about the Pywikipedia-l mailing list