Revision: 7099 Author: russblau Date: 2009-07-27 00:04:35 +0000 (Mon, 27 Jul 2009)
Log Message: ----------- Fix incorrect import and parameter
Modified Paths: -------------- branches/rewrite/scripts/solve_disambiguation.py
Modified: branches/rewrite/scripts/solve_disambiguation.py =================================================================== --- branches/rewrite/scripts/solve_disambiguation.py 2009-07-26 23:13:57 UTC (rev 7098) +++ branches/rewrite/scripts/solve_disambiguation.py 2009-07-27 00:04:35 UTC (rev 7099) @@ -84,7 +84,7 @@ # Application specific imports import pywikibot from pywikibot import config, pagegenerators -from pywikibot.scripts import editarticle +from scripts import editarticle
# Summary message when working on disambiguation pages msg = { @@ -456,7 +456,7 @@ self.ignorelist = [] filename = config.datafilepath( 'disambiguations', - self.disambPage.title(asFilename=True) + '.txt') + self.disambPage.title(as_filename=True) + '.txt') try: # The file is stored in the disambiguation/ subdir. # Create if necessary.