Revision: 3949 Author: valhallasw Date: 2007-08-02 10:26:31 +0000 (Thu, 02 Aug 2007)
Log Message: ----------- Updated: no more finally with 'please wait' message needed; this is now handled by wikipedia.py
Modified Paths: -------------- trunk/pywikipedia/solve_disambiguation.py
Modified: trunk/pywikipedia/solve_disambiguation.py =================================================================== --- trunk/pywikipedia/solve_disambiguation.py 2007-08-02 10:25:38 UTC (rev 3948) +++ trunk/pywikipedia/solve_disambiguation.py 2007-08-02 10:26:31 UTC (rev 3949) @@ -899,11 +899,10 @@ generator = iter([page])
bot = DisambiguationRobot(always, alternatives, getAlternatives, generator, primary, main_only) - try: - bot.run() - finally: - wikipedia.output(u'\n\nPlease wait for the asynchronous page edits to finish...') + bot.run()
+ + if __name__ == "__main__": try: main()