http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10335
Revision: 10335 Author: xqt Date: 2012-06-08 20:12:23 +0000 (Fri, 08 Jun 2012) Log Message: ----------- fix version.info evaluation
Modified Paths: -------------- branches/rewrite/pwb.py branches/rewrite/setup.py
Modified: branches/rewrite/pwb.py =================================================================== --- branches/rewrite/pwb.py 2012-06-08 17:23:09 UTC (rev 10334) +++ branches/rewrite/pwb.py 2012-06-08 20:12:23 UTC (rev 10335) @@ -16,8 +16,6 @@
if sys.version_info[0] != 2: raise RuntimeError("ERROR: Pywikipediabot only runs under Python 2") -if sys.version_info[0] == 3: - raise RuntimeError("ERROR: Pywikipediabot does not run under Python 3") if sys.version_info[1] < 6: raise RuntimeError("ERROR: Pywikipediabot only runs under Python 2.6 or higher")
Modified: branches/rewrite/setup.py =================================================================== --- branches/rewrite/setup.py 2012-06-08 17:23:09 UTC (rev 10334) +++ branches/rewrite/setup.py 2012-06-08 20:12:23 UTC (rev 10335) @@ -16,8 +16,6 @@
if sys.version_info[0] != 2: raise RuntimeError("ERROR: Pywikipediabot only runs under Python 2") -if sys.version_info[0] == 3: - raise RuntimeError("ERROR: Pywikipediabot does not run under Python 3") if sys.version_info[1] < 6: raise RuntimeError("ERROR: Pywikipediabot only runs under Python 2.6 or higher") else:
pywikipedia-svn@lists.wikimedia.org