http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9361
Revision: 9361 Author: xqt Date: 2011-07-10 15:23:46 +0000 (Sun, 10 Jul 2011) Log Message: ----------- update copyright, import standard libs first
Modified Paths: -------------- branches/rewrite/scripts/category_redirect.py
Modified: branches/rewrite/scripts/category_redirect.py =================================================================== --- branches/rewrite/scripts/category_redirect.py 2011-07-10 15:06:06 UTC (rev 9360) +++ branches/rewrite/scripts/category_redirect.py 2011-07-10 15:23:46 UTC (rev 9361) @@ -14,21 +14,22 @@ """
# -# (C) Pywikipedia team, 2008-2009 -#c +# (C) Pywikipedia team, 2008-2011 +# __version__ = '$Id$' # # Distributed under the terms of the MIT license. #
-import pywikibot -from pywikibot import pagegenerators, i18n import cPickle import math import re import sys, traceback import time from datetime import datetime, timedelta +import pywikibot +from pywikibot import pagegenerators +from pywikibot import i18n
class CategoryRedirectBot(object):
pywikipedia-svn@lists.wikimedia.org