Revision: 4731 Author: rotem Date: 2007-12-18 17:43:58 +0000 (Tue, 18 Dec 2007)
Log Message: ----------- Code style.
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-12-18 17:36:07 UTC (rev 4730) +++ trunk/pywikipedia/wikipedia.py 2007-12-18 17:43:58 UTC (rev 4731) @@ -5345,7 +5345,7 @@ try: if decoder: text = unicode(text, decoder) - elif type(text) != type(u''): + elif type(text) is not unicode: if verbose: print "DBG> BUG: Non-unicode passed to wikipedia.output without decoder!" print traceback.print_stack()
pywikipedia-l@lists.wikimedia.org