summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py3
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