diff options
| author | Florence Blanc-Renaud <frenaud@redhat.com> | 2016-05-23 17:18:15 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-06-06 19:06:32 +0200 |
| commit | c4a8e64cdf06cf87112bed383a13e865c8550c5b (patch) | |
| tree | 98c7e7b9a38cea2a4542bbf145b3e32b3c6df460 /ipapython | |
| parent | 91ac959fe5df817e2322428acff392d735fa414e (diff) | |
Add the culprit line when a configuration file has an incorrect format
For instance if /etc/nsswitch.conf contains an incorrect line
sudoers file sss
(Note the missing : after sudoers)
ipa-client-install exits with a SyntaxError traceback but does not state
which line caused the issue.
With the fix, the filename and the line are displayed in the SyntaxError
message.
https://fedorahosted.org/freeipa/ticket/5811
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions
