Revision: 6316 Author: purodha Date: 2009-01-31 14:47:57 +0000 (Sat, 31 Jan 2009)
Log Message: ----------- Error in r6312 corrected.
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-01-30 19:42:01 UTC (rev 6315) +++ trunk/pywikipedia/interwiki.py 2009-01-31 14:47:57 UTC (rev 6316) @@ -1760,7 +1760,7 @@ if newPages != None: if len(namespaces) == 0: ns = 0 - if len(namespaces) == 1: + elif len(namespaces) == 1: ns = namespaces[0] if ns != 'all': if isinstance(ns, unicode) or isinstance(ns, str):
pywikipedia-l@lists.wikimedia.org