summaryrefslogtreecommitdiffstats
path: root/ipaplatform
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-11-24 09:46:42 +0100
committerMartin Basti <mbasti@redhat.com>2016-11-29 14:50:51 +0100
commit9117a5d5a6ae7b3b97407e46f81a06c387974d7f (patch)
tree2459cb75a507cbdfd928c5881d1009c471755a27 /ipaplatform
parenta291c6ded91611ea2bd1a1fdb96314721d73a75f (diff)
downloadfreeipa-9117a5d5a6ae7b3b97407e46f81a06c387974d7f.tar.gz
freeipa-9117a5d5a6ae7b3b97407e46f81a06c387974d7f.tar.xz
freeipa-9117a5d5a6ae7b3b97407e46f81a06c387974d7f.zip
paths: remove DEV_NULL
The platform-specific path to /dev/null is provided by the Python standard library in os.devnull. Replace all uses of paths.DEV_NULL with os.devnull and remove DEV_NULL. https://fedorahosted.org/freeipa/ticket/6474 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'ipaplatform')
-rw-r--r--ipaplatform/base/paths.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py
index a30e6b33b..d4f7e8a66 100644
--- a/ipaplatform/base/paths.py
+++ b/ipaplatform/base/paths.py
@@ -33,7 +33,6 @@ class BasePathNamespace(object):
SYSTEMCTL = "/bin/systemctl"
TAR = "/bin/tar"
BIN_TRUE = "/bin/true"
- DEV_NULL = "/dev/null"
DEV_STDIN = "/dev/stdin"
AUTOFS_LDAP_AUTH_CONF = "/etc/autofs_ldap_auth.conf"
ETC_DIRSRV = "/etc/dirsrv"