Revision: 6565 Author: russblau Date: 2009-03-30 13:56:29 +0000 (Mon, 30 Mar 2009)
Log Message: ----------- Fix import statements; "scripts" is no longer in the pywikibot package (though I'm not clear on why that choice was made)
Modified Paths: -------------- branches/rewrite/scripts/replace.py
Modified: branches/rewrite/scripts/replace.py =================================================================== --- branches/rewrite/scripts/replace.py 2009-03-28 17:27:58 UTC (rev 6564) +++ branches/rewrite/scripts/replace.py 2009-03-30 13:56:29 UTC (rev 6565) @@ -118,11 +118,11 @@ import sys, re, time import pywikibot from pywikibot import pagegenerators, catlib, config -from pywikibot.scripts import editarticle +from scripts import editarticle import webbrowser
# Imports predefined replacements tasks from fixes.py -import pywikibot.scripts.fixes as fixes +import scripts.fixes as fixes
# This is required for the text that is shown when you run this script # with the parameter -help.
pywikipedia-l@lists.wikimedia.org