Revision: 5677 Author: filnik Date: 2008-07-05 21:00:34 +0000 (Sat, 05 Jul 2008)
Log Message: ----------- Little fix to the data and faked -> fake
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2008-07-05 20:26:02 UTC (rev 5676) +++ trunk/pywikipedia/checkimages.py 2008-07-05 21:00:34 UTC (rev 5677) @@ -1321,11 +1321,11 @@ seems_ok = True break if not seems_ok: - rep_text_license_faked = "\n*[[:Image:%s]] seems to have a ''fake license'', license detected: %s." % (imageName, license_found) - regexFakedLicense = r"* ?[[:Image:%s]] seems to have a ''fake license'', license detected: %s." % (imageName, license_found) + rep_text_license_fake = "\n*[[:Image:%s]] seems to have a ''fake license'', license detected: %s." % (imageName, license_found) + regexFakeLicense = r"* ?[[:Image:%s]] seems to have a ''fake license'', license detected: %s." % (imageName, license_found) printWithTimeZone(u"%s seems to have a fake license: %s, reporting..." % (imageName, license_found)) - mainClass.report_image(imageName, rep_text = rep_text_license_faked, - addings = False, regex = regexFakedLicense) + mainClass.report_image(imageName, rep_text = rep_text_license_fake, + addings = False, regex = regexFakeLicense) else: seems_ok = True if seems_ok: