Revision: 7746
Author:   xqt
Date:     2009-12-08 14:33:02 +0000 (Tue, 08 Dec 2009)

Log Message:
-----------
bugfix from old version

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

Modified: trunk/pywikipedia/interwiki.py
===================================================================
--- trunk/pywikipedia/interwiki.py      2009-12-08 14:28:28 UTC (rev 7745)
+++ trunk/pywikipedia/interwiki.py      2009-12-08 14:33:02 UTC (rev 7746)
@@ -1924,7 +1924,7 @@
     def selectQuerySite(self):
         """Select the site the next query should go out for."""
         # How many home-language queries we still have?
-        mycount = self.counts.get(wikipedia.getSite(), 0)
+        mycount = self.counts.get(pywikibot.getSite(), 0)
         # Do we still have enough subjects to work on for which the
         # home language has been retrieved? This is rough, because
         # some subjects may need to retrieve a second home-language page!



_______________________________________________
Pywikipedia-svn mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn

Reply via email to