Revision: 6436 Author: russblau Date: 2009-02-24 16:41:11 +0000 (Tue, 24 Feb 2009)
Log Message: ----------- Merge recent change from trunk
Modified Paths: -------------- branches/rewrite/pywikibot/scripts/replace.py
Modified: branches/rewrite/pywikibot/scripts/replace.py =================================================================== --- branches/rewrite/pywikibot/scripts/replace.py 2009-02-24 15:17:02 UTC (rev 6435) +++ branches/rewrite/pywikibot/scripts/replace.py 2009-02-24 16:41:11 UTC (rev 6436) @@ -373,8 +373,7 @@ % page.title(asLink=True)) break new_text = self.doReplacements(new_text) - if new_text.strip().replace('\r\n', '\n' - ) == original_text.strip().replace('\r\n', '\n'): + if new_text == original_text: pywikibot.output(u'No changes were necessary in %s' % page.title(asLink=True)) break
pywikipedia-l@lists.wikimedia.org