Skip to content

Commit e545b54

Browse files
committed
Removed unused imports
1 parent 7412934 commit e545b54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd2/cmd2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ def __subclasshook__(cls, C):
105105

106106
# Python 3.4 require contextlib2 for temporarily redirecting stderr and stdout
107107
if sys.version_info < (3, 5):
108-
from contextlib2 import redirect_stdout, redirect_stderr
108+
from contextlib2 import redirect_stdout
109109
else:
110-
from contextlib import redirect_stdout, redirect_stderr
110+
from contextlib import redirect_stdout
111111

112112
# Detect whether IPython is installed to determine if the built-in "ipy" command should be included
113113
ipython_available = True

0 commit comments

Comments
 (0)