summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-01-21 14:19:02 +0100
committermathieui <mathieui@mathieui.net>2015-01-21 14:19:02 +0100
commiteb6309da75ef6080268013d5fc3c863f2d1a2edf (patch)
tree6a55c09722c083f54ee8335511deb7bfe95a2594
parent992a460cf6100f5b851c85190352f1d810c6d3ff (diff)
downloadpoezio-eb6309da75ef6080268013d5fc3c863f2d1a2edf.tar.gz
poezio-eb6309da75ef6080268013d5fc3c863f2d1a2edf.tar.bz2
poezio-eb6309da75ef6080268013d5fc3c863f2d1a2edf.tar.xz
poezio-eb6309da75ef6080268013d5fc3c863f2d1a2edf.zip
Remove another snippet of pre-3.4 compatibility
-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__)