[Checkins] SVN: zc.buildout/branches/gary-support-system-python/bootstrap/bootstrap.py fix silly error

Gary Poster gary.poster at canonical.com
Wed Jul 15 14:34:35 EDT 2009


Log message for revision 101930:
  fix silly error

Changed:
  U   zc.buildout/branches/gary-support-system-python/bootstrap/bootstrap.py

-=-
Modified: zc.buildout/branches/gary-support-system-python/bootstrap/bootstrap.py
===================================================================
--- zc.buildout/branches/gary-support-system-python/bootstrap/bootstrap.py	2009-07-15 18:07:39 UTC (rev 101929)
+++ zc.buildout/branches/gary-support-system-python/bootstrap/bootstrap.py	2009-07-15 18:34:35 UTC (rev 101930)
@@ -150,7 +150,7 @@
 else: # Windows needs this, apparently; otherwise we would prefer subprocess
     exitcode = os.spawnle(*([os.P_WAIT, sys.executable] + cmd + [env]))
 if exitcode != 0:
-    sys.flush()
+    sys.stdout.flush()
     print ("An error occured when trying to install zc.buildout. "
            "Look above this message for any errors that "
            "were output by easy_install.")



More information about the Checkins mailing list