lint: no need to check for DEVNULL; all supported versions have it

This commit is contained in:
James R. Barlow
2016-08-31 16:28:18 -07:00
parent dd8c0f3756
commit 8ac94879f1
+1 -5
View File
@@ -10,11 +10,7 @@ from . import ExitCode, get_program, page_number
from collections import namedtuple
from subprocess import Popen, PIPE, CalledProcessError, \
TimeoutExpired, check_output, STDOUT
try:
from subprocess import DEVNULL
except ImportError:
DEVNULL = open(os.devnull, 'wb')
TimeoutExpired, check_output, STDOUT, DEVNULL
OrientationConfidence = namedtuple(