"Valhallasw" posted a comment on pywikipedia.r9971.
URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9971#c31976

Commit summary for pywikipedia.r9971:

Starting the survey for old Python versions. See
http://thread.gmane.org/gmane.comp.python.pywikipediabot.general/12473

Valhallasw's comment:

Why not just add

suppresssurvey = False

in config.py? (Or even suppressurvey = (sys.version >= 2.7.2))

Which simplifies the code in wikipedia.py to

if sys.version < '2.7.2' and not config.suppresssurvey:

(or if not config.suppresssurvey)

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to