summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/daemon.py6
1 files changed, 1 insertions, 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__)