Revision: 6196
Author:   russblau
Date:     2008-12-23 21:15:36 +0000 (Tue, 23 Dec 2008)

Log Message:
-----------
Comment out warning until I can check all the function calls.

Modified Paths:
--------------
    branches/rewrite/pywikibot/bot.py

Modified: branches/rewrite/pywikibot/bot.py
===================================================================
--- branches/rewrite/pywikibot/bot.py   2008-12-23 20:46:55 UTC (rev 6195)
+++ branches/rewrite/pywikibot/bot.py   2008-12-23 21:15:36 UTC (rev 6196)
@@ -132,12 +132,12 @@
     if decoder:
         text = unicode(text, decoder)
     elif type(text) is not unicode:
-        import traceback
-        pywikibot.output(
-            u"Non-unicode (%s) passed to wikipedia.output without decoder!\n"
-             % type(text),
-            level=VERBOSE
-        )
+##        import traceback
+##        pywikibot.output(
+##            u"Non-unicode (%s) passed to wikipedia.output without decoder!\n"
+##             % type(text),
+##            level=VERBOSE
+##        )
         try:
             text = unicode(text, 'utf-8')
         except UnicodeDecodeError:



_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to