Revision: 5133 Author: russblau Date: 2008-03-16 10:22:26 +0000 (Sun, 16 Mar 2008)
Log Message: ----------- Improve error message.
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2008-03-15 17:31:37 UTC (rev 5132) +++ trunk/pywikipedia/wikipedia.py 2008-03-16 10:22:26 UTC (rev 5133) @@ -1626,8 +1626,8 @@ try: name = Page(self.site(), name).title() except Error: - output(u"Page %s contains invalid template name %s." - % (self.title(), name)) + output(u"Page %s contains invalid template name {{%s}}." + % (self.title(), name.strip())) continue
# Parameters