http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9410
Revision: 9410 Author: xqt Date: 2011-07-17 09:54:30 +0000 (Sun, 17 Jul 2011) Log Message: ----------- Fix for NameError in pywikibot/i18n.py (bug #3369136)
Modified Paths: -------------- trunk/pywikipedia/pywikibot/i18n.py
Modified: trunk/pywikipedia/pywikibot/i18n.py =================================================================== --- trunk/pywikipedia/pywikibot/i18n.py 2011-07-16 23:05:34 UTC (rev 9409) +++ trunk/pywikipedia/pywikibot/i18n.py 2011-07-17 09:54:30 UTC (rev 9410) @@ -198,6 +198,7 @@
# If xdict attribute is wikipedia, define the xdite had multiple projects if 'wikipedia' in xdict: + import wikipedia as pywikibot if pywikibot.default_family in xdict: xdict = xdict[pywikibot.default_family] else:
pywikipedia-svn@lists.wikimedia.org