http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9834
Revision: 9834 Author: valhallasw Date: 2012-01-21 13:15:04 +0000 (Sat, 21 Jan 2012) Log Message: ----------- Disable automatic check of date.py - reduces bot startup time by seconds.
Modified Paths: -------------- trunk/pywikipedia/date.py
Modified: trunk/pywikipedia/date.py =================================================================== --- trunk/pywikipedia/date.py 2012-01-20 16:03:17 UTC (rev 9833) +++ trunk/pywikipedia/date.py 2012-01-21 13:15:04 UTC (rev 9834) @@ -1842,6 +1842,6 @@ else: pywikibot.output(u'Date module has been fully tested')
-# Do a quick test upon module loading! -# Make sure the date file is correct -test(quick=True) +if __name__=="__main__": + # Test the date file + test(quick=False)
pywikipedia-svn@lists.wikimedia.org