http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9518
Revision: 9518
Author: xqt
Date: 2011-09-08 20:51:52 +0000 (Thu, 08 Sep 2011)
Log Message:
-----------
copied the wrong error class in r9514
Modified Paths:
--------------
trunk/pywikipedia/tag_nowcommons.py
Modified: trunk/pywikipedia/tag_nowcommons.py
===================================================================
--- trunk/pywikipedia/tag_nowcommons.py 2011-09-08 20:48:36 UTC (rev 9517)
+++ trunk/pywikipedia/tag_nowcommons.py 2011-09-08 20:51:52 UTC (rev 9518)
@@ -21,8 +21,8 @@
from pywikibot import i18n
-class NothingFound(pywikibot.Error):
- """ An exception indicating that a regex has return [] instead of
results."""
+class NoEnoughData(pywikibot.Error):
+ """ Error class for when the user doesn't specified all the data
needed """
def main(args):