# HG changeset patch # User Julien Cristau # Date 1443622469 -7200 # Node ID 8d49849ec2a6fb18b7d8fe8220255bcbe4f14b33 # Parent cb83ba66fa61541edac05e036703bc06b6fd37d3 [cwctl] stop playing tricks with std{out,err} buffering Python3 doesn't allow unbuffered text I/O, because it doesn't make sense. diff -r cb83ba66fa61 -r 8d49849ec2a6 cwctl.py --- a/cwctl.py Tue Sep 22 15:42:40 2015 +0200 +++ b/cwctl.py Wed Sep 30 16:14:29 2015 +0200 @@ -1139,8 +1139,6 @@ def run(args): """command line tool""" import os - sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) - sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0) filterwarnings('default', category=DeprecationWarning) cwcfg.load_cwctl_plugins() try: