Revision: 4376
Author: siebrand
Date: 2007-09-29 07:27:45 +0000 (Sat, 29 Sep 2007)
Log Message:
-----------
Fix 'SyntaxError: EOL while scanning single-quoted string'
Modified Paths:
--------------
trunk/pywikipedia/commons_link.py
Modified: trunk/pywikipedia/commons_link.py
===================================================================
--- trunk/pywikipedia/commons_link.py 2007-09-28 20:20:59 UTC (rev 4375)
+++ trunk/pywikipedia/commons_link.py 2007-09-29 07:27:45 UTC (rev 4376)
@@ -68,7 +68,7 @@
if s or s2:
wikipedia.output(u'** Already done.')
else:
- text =
wikipedia.replaceCategoryLinks(text+u'{{commons||%s}}'%commonspage.title()',
page.categories())
+ text =
wikipedia.replaceCategoryLinks(text+u'{{commons||%s}}'%commonspage.title(),
page.categories())
if oldText != text:
wikipedia.showDiff(oldText, text)
if not self.acceptall:
Show replies by thread