From 9eb7da519b0306566d153b62834d7baec3ac8042 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 11 Mar 2013 09:24:57 +0100 Subject: [PATCH] do not repoen stdin, stderr, stdout --- bat2nodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bat2nodes.py b/bat2nodes.py index 27399b1..ab4d5fd 100755 --- a/bat2nodes.py +++ b/bat2nodes.py @@ -12,9 +12,9 @@ import locale # Ensures that subsequent open()s locale.getpreferredencoding = lambda: 'UTF-8' # are UTF-8 encoded. import sys -sys.stdin = open('/dev/stdin', 'r') -sys.stdout = open('/dev/stdout', 'w') -sys.stderr = open('/dev/stderr', 'w') +#sys.stdin = open('/dev/stdin', 'r') +#sys.stdout = open('/dev/stdout', 'w') +#sys.stderr = open('/dev/stderr', 'w') parser = argparse.ArgumentParser()