Revision: 6631 Author: cosoleto Date: 2009-04-19 08:57:41 +0000 (Sun, 19 Apr 2009)
Log Message: ----------- Fixed syntax error due to previous commit
Modified Paths: -------------- trunk/pywikipedia/copyright_clean.py
Modified: trunk/pywikipedia/copyright_clean.py =================================================================== --- trunk/pywikipedia/copyright_clean.py 2009-04-19 08:47:15 UTC (rev 6630) +++ trunk/pywikipedia/copyright_clean.py 2009-04-19 08:57:41 UTC (rev 6631) @@ -96,7 +96,7 @@
def revid_exist(revid): for pageobjs in query_results_revids: - if 'badrevids' pageobjs['query']: + if 'badrevids' in pageobjs['query']: for id in pageobjs['query']['badrevids']: if id == int(revid): # print rv
pywikipedia-svn@lists.wikimedia.org