Revision: 7122
Author: btongminh
Date: 2009-08-06 21:56:05 +0000 (Thu, 06 Aug 2009)
Log Message:
-----------
Fix freaky typo
Modified Paths:
--------------
trunk/pywikipedia/commonsdelinker/image_replacer.py
Modified: trunk/pywikipedia/commonsdelinker/image_replacer.py
===================================================================
--- trunk/pywikipedia/commonsdelinker/image_replacer.py 2009-08-06 18:10:15 UTC
(rev 7121)
+++ trunk/pywikipedia/commonsdelinker/image_replacer.py 2009-08-06 21:56:05 UTC
(rev 7122)
@@ -133,7 +133,7 @@
for remove in remove_from_list:
text = text.replace(remove, u'')
# Kill the freaky CommonsDupes
- text = text.replacer('== Dummy section, heading can be
deleted (using [http://tools.wikimedia.de/~magnus/commons_dupes.php
CommonsDupes]) ==', '')
+ text = text.replace('== Dummy section, heading can be
deleted (using [http://tools.wikimedia.de/~magnus/commons_dupes.php
CommonsDupes]) ==', '')
# Kill the freaky whitespace
text = text.replace('\r', '')
while '\n\n\n' in text:
_______________________________________________
Pywikipedia-svn mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn