summaryrefslogtreecommitdiff
path: root/lib/utils/io.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/io.py')
-rw-r--r--lib/utils/io.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils/io.py b/lib/utils/io.py
index e5a246f3..f51f629c 100644
--- a/lib/utils/io.py
+++ b/lib/utils/io.py
@@ -19,6 +19,8 @@ def restore_stderr():
# It's probably possible to generalize this code, but when I tried,
# the result was incredibly unreadable.
+
+
def save_stdout():
null = open(os.devnull, 'w')
sys.stdout_dup = os.dup(sys.stdout.fileno())