From eb6309da75ef6080268013d5fc3c863f2d1a2edf Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 21 Jan 2015 14:19:02 +0100 Subject: Remove another snippet of pre-3.4 compatibility --- src/daemon.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/daemon.py b/src/daemon.py index 395054a7..6325d8df 100755 --- a/src/daemon.py +++ b/src/daemon.py @@ -25,11 +25,7 @@ import subprocess import shlex import logging -try: - from subprocess import DEVNULL # Only in python >= 3.3 -except ImportError: - import os - DEVNULL = open(os.devnull, 'wb') +from subprocess import DEVNULL log = logging.getLogger(__name__) -- cgit v1.2.3