diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-05-29 14:47:17 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-06-16 19:48:20 +0200 |
commit | 4d2ef43f287aa96df3d65b97977fc7a824b6b33c (patch) | |
tree | 4adba8f39e1f874c89a73993d6a6455b649b7bb9 /ipalib/errors.py | |
parent | c7edd7b68c98d105f02a5977a0ff7c2a3081f2c9 (diff) | |
download | freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.tar.gz freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.tar.xz freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.zip |
ipaplatform: Move all filesystem paths to ipaplatform.paths module
https://fedorahosted.org/freeipa/ticket/4052
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r-- | ipalib/errors.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py index 95b8b3b26..d69e33062 100644 --- a/ipalib/errors.py +++ b/ipalib/errors.py @@ -105,6 +105,7 @@ current block assignments: from ipalib.text import ngettext as ungettext import messages +from ipaplatform.paths import paths class PrivateError(StandardError): @@ -142,7 +143,7 @@ class SubprocessError(PrivateError): The exit code of the sub-process is available via the ``returncode`` instance attribute. For example: - >>> e = SubprocessError(returncode=1, argv=('/bin/false',)) + >>> e = SubprocessError(returncode=1, argv=(paths.BIN_FALSE,)) >>> e.returncode 1 >>> e.argv # argv is also available |