Revision: 5635 Author: filnik Date: 2008-06-26 14:53:46 +0000 (Thu, 26 Jun 2008)
Log Message: ----------- The format of getLatestUploader() is changed
Modified Paths: -------------- trunk/pywikipedia/imagecopy.py
Modified: trunk/pywikipedia/imagecopy.py =================================================================== --- trunk/pywikipedia/imagecopy.py 2008-06-26 14:26:46 UTC (rev 5634) +++ trunk/pywikipedia/imagecopy.py 2008-06-26 14:53:46 UTC (rev 5635) @@ -467,7 +467,7 @@ else: # The first upload is last in the list. try: - username = imagepage.getLatestUploader() + username = imagepage.getLatestUploader()[0] except NotImplementedError: #No API, using the page file instead (datetime, username, resolution, size, comment) = imagepage.getFileVersionHistory().pop()
pywikipedia-l@lists.wikimedia.org