Revision: 8111 Author: alexsh Date: 2010-04-18 19:48:48 +0000 (Sun, 18 Apr 2010)
Log Message: ----------- typo
Modified Paths: -------------- trunk/pywikipedia/userlib.py trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/userlib.py =================================================================== --- trunk/pywikipedia/userlib.py 2010-04-18 19:42:57 UTC (rev 8110) +++ trunk/pywikipedia/userlib.py 2010-04-18 19:48:48 UTC (rev 8111) @@ -285,7 +285,7 @@ yield p,t,c,a return
- for s in self.site().logpages(number, mode = 'upload', user = self.name(), dump = True) + for s in self.site().logpages(number, mode = 'upload', user = self.name(), dump = True): yield wikipedia.ImagePage(self.site(), s['title']), s['timestamp'], s['comment'], s['pageid'] > 0 return
Modified: trunk/pywikipedia/welcome.py =================================================================== --- trunk/pywikipedia/welcome.py 2010-04-18 19:42:57 UTC (rev 8110) +++ trunk/pywikipedia/welcome.py 2010-04-18 19:48:48 UTC (rev 8111) @@ -690,7 +690,7 @@ count_auto = 0 wikipedia.output("Querying new user log from API....") while True: - for x in self.site.logpages(number = int(globalvar.queryLimit), mode = 'newusers',start = starttime, dump = True) + for x in self.site.logpages(number = int(globalvar.queryLimit), mode = 'newusers',start = starttime, dump = True): someone_found = True if 'user' not in x: continue
pywikipedia-svn@lists.wikimedia.org