Remove another snippet of pre-3.4 compatibility
This commit is contained in:
parent
992a460cf6
commit
eb6309da75
1 changed files with 1 additions and 5 deletions
|
@ -25,11 +25,7 @@ import subprocess
|
||||||
import shlex
|
import shlex
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
try:
|
from subprocess import DEVNULL
|
||||||
from subprocess import DEVNULL # Only in python >= 3.3
|
|
||||||
except ImportError:
|
|
||||||
import os
|
|
||||||
DEVNULL = open(os.devnull, 'wb')
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue