Revision: 4411 Author: btongminh Date: 2007-10-03 19:23:15 +0000 (Wed, 03 Oct 2007)
Log Message: ----------- Live fix
Modified Paths: -------------- trunk/pywikipedia/commonsdelinker/checkusage.py
Modified: trunk/pywikipedia/commonsdelinker/checkusage.py =================================================================== --- trunk/pywikipedia/commonsdelinker/checkusage.py 2007-10-03 19:06:50 UTC (rev 4410) +++ trunk/pywikipedia/commonsdelinker/checkusage.py 2007-10-03 19:23:15 UTC (rev 4411) @@ -353,7 +353,7 @@ if '-1' not in res['query']['pages'] and shared: return - if site.live_version()[:2] > (1, 10): + if live_version > (1, 10): usages = res['query'].get('imageusage', ()) else: usages = res['query'].get('imagelinks', {}).itervalues()