Revision: 4219 Author: russblau Date: 2007-09-09 00:50:37 +0000 (Sun, 09 Sep 2007)
Log Message: ----------- Bugfix in last commit
Modified Paths: -------------- trunk/pywikipedia/replace.py
Modified: trunk/pywikipedia/replace.py =================================================================== --- trunk/pywikipedia/replace.py 2007-09-09 00:15:33 UTC (rev 4218) +++ trunk/pywikipedia/replace.py 2007-09-09 00:50:37 UTC (rev 4219) @@ -258,9 +258,9 @@ choice = wikipedia.inputChoice(u'Do you want to accept these changes?', ['Yes', 'No', 'All'], ['y', 'N', 'a'], 'N') if choice in ['a', 'A']: self.acceptall = True - if choice in ['y', 'Y']: - page.put_async(new_text) - elif self.acceptall: + if choice in ['y', 'Y']: + page.put_async(new_text) + if self.acceptall: try: page.put(new_text) except wikipedia.EditConflict: