[Checkins] SVN: zc.buildout/branches/2/bootstrap/bootstrap.py Use test buildout versions when running Python 3.

Jim Fulton jim at zope.com
Sat Apr 30 08:43:28 EDT 2011


Log message for revision 121484:
  Use test buildout versions when running Python 3.
  

Changed:
  U   zc.buildout/branches/2/bootstrap/bootstrap.py

-=-
Modified: zc.buildout/branches/2/bootstrap/bootstrap.py
===================================================================
--- zc.buildout/branches/2/bootstrap/bootstrap.py	2011-04-30 12:18:58 UTC (rev 121483)
+++ zc.buildout/branches/2/bootstrap/bootstrap.py	2011-04-30 12:43:27 UTC (rev 121484)
@@ -131,7 +131,8 @@
                         "bootstrap script completes."))
 parser.add_option("-t", "--accept-buildout-test-releases",
                   dest='accept_buildout_test_releases',
-                  action="store_true", default=False,
+                  action="store_true",
+                  default=sys.version_info[0] > 2,
                   help=("Normally, if you do not specify a --version, the "
                         "bootstrap script and buildout gets the newest "
                         "*final* versions of zc.buildout and its recipes and "



More information about the checkins mailing list