http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10710
Revision: 10710 Author: xqt Date: 2012-11-11 18:24:24 +0000 (Sun, 11 Nov 2012) Log Message: ----------- import system library first
Modified Paths: -------------- branches/rewrite/scripts/imageuncat.py
Modified: branches/rewrite/scripts/imageuncat.py =================================================================== --- branches/rewrite/scripts/imageuncat.py 2012-11-11 18:23:35 UTC (rev 10709) +++ branches/rewrite/scripts/imageuncat.py 2012-11-11 18:24:24 UTC (rev 10710) @@ -13,13 +13,13 @@ #
import os, sys, re, codecs +from datetime import datetime +from datetime import timedelta import pywikibot from pywikibot import config from pywikibot import pagegenerators from pywikibot import config import query -from datetime import datetime -from datetime import timedelta
#Probably unneeded because these are hidden categories. Have to figure it out. ignoreCategories = [u'[[Category:CC-BY-SA-3.0]]',
pywikipedia-svn@lists.wikimedia.org