http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10256
Revision: 10256 Author: xqt Date: 2012-05-26 19:57:34 +0000 (Sat, 26 May 2012) Log Message: ----------- initialize self.ns for older mw releases
Modified Paths: -------------- trunk/pywikipedia/xmlreader.py
Modified: trunk/pywikipedia/xmlreader.py =================================================================== --- trunk/pywikipedia/xmlreader.py 2012-05-26 13:23:03 UTC (rev 10255) +++ trunk/pywikipedia/xmlreader.py 2012-05-26 19:57:34 UTC (rev 10256) @@ -102,6 +102,7 @@ # They are initialized here so they at least have some value when # asked for self.id = u'' + self.ns = u'' self.revisionid = u'' self.comment = u'' self.isredirect = False
pywikipedia-svn@lists.wikimedia.org