diff options
| author | Jan Cholasta <jcholast@redhat.com> | 2016-11-23 14:01:07 +0100 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-11-29 14:50:51 +0100 |
| commit | 528012fe8a8976961203021ef36353b7a4c3b8a8 (patch) | |
| tree | c208c28b82e1d5a3e4e8fd5bf064664cb8b32075 /ipapython/ipautil.py | |
| parent | 6e50fae9ec6dea35e12a65dbc46228a1e6276e07 (diff) | |
| download | freeipa-528012fe8a8976961203021ef36353b7a4c3b8a8.tar.gz freeipa-528012fe8a8976961203021ef36353b7a4c3b8a8.tar.xz freeipa-528012fe8a8976961203021ef36353b7a4c3b8a8.zip | |
ipapython: remove hard dependency on ipaplatform
Use hard-coded paths to certutil, pk12util and openssl in certdb if
ipaplatform is not available.
Hard-coded the path to setpasswd in ipautil.run() doc string.
Remove ipaplatform dependency from ipapython's setup.py and add ipapython
dependency to ipaplatform's setup.py.
https://fedorahosted.org/freeipa/ticket/6474
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'ipapython/ipautil.py')
| -rw-r--r-- | ipapython/ipautil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/ipautil.py b/ipapython/ipautil.py index 654fdd97e..1c95a81f6 100644 --- a/ipapython/ipautil.py +++ b/ipapython/ipautil.py @@ -314,7 +314,7 @@ def run(args, stdin=None, raiseonerr=True, nolog=(), env=None, Example: We have a command - [paths.SETPASSWD, '--password', 'Secret123', 'someuser'] + ['/usr/bin/setpasswd', '--password', 'Secret123', 'someuser'] and we don't want to log the password so nolog would be set to: ('Secret123',) The resulting log output would be: |
