Revision: 7584
Author: xqt
Date: 2009-11-03 09:57:15 +0000 (Tue, 03 Nov 2009)
Log Message:
-----------
Bugfix for missing newline
Modified Paths:
--------------
trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py
===================================================================
--- trunk/pywikipedia/cosmetic_changes.py 2009-11-03 07:18:19 UTC (rev
7583)
+++ trunk/pywikipedia/cosmetic_changes.py 2009-11-03 09:57:15 UTC (rev
7584)
@@ -337,6 +337,8 @@
newLink = ' ' + newLink
if hadTrailingSpaces:
newLink = newLink + ' '
+ if newline:
+ newLink = newline + newLink
return newLink
# don't change anything
return match.group()
_______________________________________________
Pywikipedia-svn mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn