[Pywikipedia-l] SVN: [5689] trunk/pywikipedia/checkimages.py
filnik at svn.wikimedia.org
filnik at svn.wikimedia.org
Sun Jul 6 20:26:06 UTC 2008
Revision: 5689
Author: filnik
Date: 2008-07-06 20:26:05 +0000 (Sun, 06 Jul 2008)
Log Message:
-----------
-.-' bugfix
Modified Paths:
--------------
trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py 2008-07-06 20:07:33 UTC (rev 5688)
+++ trunk/pywikipedia/checkimages.py 2008-07-06 20:26:05 UTC (rev 5689)
@@ -906,7 +906,7 @@
regl = r"(\"|\')(.*?)\1(?:, |\])"
pl = re.compile(regl, re.UNICODE)
for xl in pl.finditer(raw):
- word = xl.group(2),replace('\\', '\')
+ word = xl.group(2).replace('\\\\', '\\')
if word not in list_loaded:
list_loaded.append(word)
return list_loaded
More information about the Pywikipedia-l
mailing list