Revision: 7143 Author: alexsh Date: 2009-08-11 16:35:49 +0000 (Tue, 11 Aug 2009)
Log Message: ----------- typo
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-08-11 10:59:58 UTC (rev 7142) +++ trunk/pywikipedia/wikipedia.py 2009-08-11 16:35:49 UTC (rev 7143) @@ -1625,7 +1625,7 @@ continue elif errorCode == 'contenttoobig': # 'contenttoobig':"The content you supplied exceeds the article size limit of $1 kilobytes", - raise LongPageError(len(params['text']), int(data['error']['indo'][59:-10])) + raise LongPageError(len(params['text']), int(data['error']['info'][59:-10])) elif errorCode in ['protectedpage', 'customcssjsprotected', 'cascadeprotected', 'protectednamespace', 'protectednamespace-interface']: # 'protectedpage':"The ``$1'' right is required to edit this page" # 'cascadeprotected':"The page you're trying to edit is protected because it's included in a cascade-protected page"
pywikipedia-svn@lists.wikimedia.org