[Pywikipedia-l] SVN: [5422] trunk/pywikipedia/imagecopy.py

multichill at svn.wikimedia.org multichill at svn.wikimedia.org
Thu May 22 15:14:37 UTC 2008


Revision: 5422
Author:   multichill
Date:     2008-05-22 15:14:36 +0000 (Thu, 22 May 2008)

Log Message:
-----------
No longer using getFileVersionHistory, see bug #1969083.

Modified Paths:
--------------
    trunk/pywikipedia/imagecopy.py

Modified: trunk/pywikipedia/imagecopy.py
===================================================================
--- trunk/pywikipedia/imagecopy.py	2008-05-22 14:36:01 UTC (rev 5421)
+++ trunk/pywikipedia/imagecopy.py	2008-05-22 15:14:36 UTC (rev 5422)
@@ -303,7 +303,7 @@
                 skip = True            
             else:
                 # The first upload is last in the list.
-                (datetime, username, resolution, size, comment) = imagepage.getFileVersionHistory().pop()               
+                username = imagepage.getLatestUploader()               
                 while True:
 
                     # Do the Tkdialog to accept/reject and change te name        





More information about the Pywikipedia-l mailing list