Revision: 5148 Author: filnik Date: 2008-03-20 12:46:48 +0000 (Thu, 20 Mar 2008)
Log Message: ----------- Preloading for this script seems useless
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2008-03-19 21:13:29 UTC (rev 5147) +++ trunk/pywikipedia/checkimages.py 2008-03-20 12:46:48 UTC (rev 5148) @@ -839,8 +839,7 @@ # No settings found, No problem, continue. else: wikipedia.output(u'\t >> No additional settings found! <<') # Not the main, but the most important loop. - preloadingGen = pagegenerators.PreloadingGenerator(generator, pageNumber = 60) - for image in preloadingGen: + for image in generator: # If I don't inizialize the generator, wait part and skip part are useless if wait: printWithTimeZone(u'Waiting %s seconds before checking the images,' % wait_number)
pywikipedia-l@lists.wikimedia.org