[Pywikipedia-l] SVN: [4653] trunk/pywikipedia/wikipedia.py

filnik at svn.wikimedia.org filnik at svn.wikimedia.org
Sun Dec 9 13:04:48 UTC 2007


Revision: 4653
Author:   filnik
Date:     2007-12-09 13:04:42 +0000 (Sun, 09 Dec 2007)

Log Message:
-----------
Bugfix (wikipedia.output() is only output() in the wikipedia.py file...)

Modified Paths:
--------------
    trunk/pywikipedia/wikipedia.py

Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py	2007-12-09 12:28:55 UTC (rev 4652)
+++ trunk/pywikipedia/wikipedia.py	2007-12-09 13:04:42 UTC (rev 4653)
@@ -4235,7 +4235,7 @@
             # This prevent pages with strange characters. They will be loaded without problem.
             image =  "%s.%s" % (im, ext)
             if new != '':
-                wikipedia.output(u"Skipping %s because it has been deleted." % image)
+                output(u"Skipping %s because it has been deleted." % image)
                 if image not in seen:
                     seen.append(image)
             if image not in seen:
@@ -4243,7 +4243,7 @@
                 page = Page(self, 'Image:%s' % image)
                 yield page
             if not repeat:            
-                wikipedia.output(u"\t\t>> All images checked. <<")
+                output(u"\t\t>> All images checked. <<")
                 break
 
     def uncategorizedimages(self, number = 10, repeat = False):





More information about the Pywikipedia-l mailing list