Revision: 6818 Author: russblau Date: 2009-05-04 13:43:47 +0000 (Mon, 04 May 2009)
Log Message: ----------- Bug in r6807: str.title() capitalizes all words, not just the first one, which is undesirable
Modified Paths: -------------- branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py =================================================================== --- branches/rewrite/pywikibot/page.py 2009-05-04 01:41:41 UTC (rev 6817) +++ branches/rewrite/pywikibot/page.py 2009-05-04 13:43:47 UTC (rev 6818) @@ -130,7 +130,7 @@ self._revisions = {}
# Always capitalize the first letter - self._title = self._title.title() + self._title = self._title[:1].upper() + self._title[1:]
def site(self): """Return the Site object for the wiki on which this Page resides."""
pywikipedia-svn@lists.wikimedia.org