accident when merge. revert to r37405

This commit is contained in:
Xiao Xiangquan
2011-06-11 18:15:46 +00:00
38 changed files with 254 additions and 484 deletions

View File

@@ -80,7 +80,7 @@ def get_console(console_id):
if console_data:
console, stdout, stderr = console_data
# XXX, bug in python 3.1.2, 3.2 ? (worked in 3.1.1)
# XXX, bug in python 3.1.2 ? (worked in 3.1.1)
# seems there is no way to clear StringIO objects for writing, have to make new ones each time.
import io
stdout = io.StringIO()