Revision: 7965 Author: alexsh Date: 2010-02-26 04:57:12 +0000 (Fri, 26 Feb 2010)
Log Message: ----------- fix global variable not define
Modified Paths: -------------- trunk/pywikipedia/pywikibot/textlib.py
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2010-02-25 23:43:23 UTC (rev 7964) +++ trunk/pywikipedia/pywikibot/textlib.py 2010-02-26 04:57:12 UTC (rev 7965) @@ -988,8 +988,8 @@
# If xdict attribute is wikipedia, define the xdite had multiple projects if 'wikipedia' in xdict: - if default_family in xdict: - xdict = xdict[default_family] + if pywikibot.default_family in xdict: + xdict = xdict[pywikibot.default_family] else: xdict = xdict['wikipedia']
pywikipedia-svn@lists.wikimedia.org