diff options
author | Endi S. Dewata <edewata@redhat.com> | 2013-10-07 18:25:23 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2013-10-07 18:25:23 -0400 |
commit | f2a85c09689cb09e6a0996125c112552599c717c (patch) | |
tree | 08355c39eeacb34b311d8e6c61f9fc83bbad3f7d | |
parent | 443159f77e87a70bc85ab85f5ad58b9169def88a (diff) | |
download | pki-f2a85c09689cb09e6a0996125c112552599c717c.tar.gz pki-f2a85c09689cb09e6a0996125c112552599c717c.tar.xz pki-f2a85c09689cb09e6a0996125c112552599c717c.zip |
Fixed pylint issue in pkiparser.py.
The exception handler in pkiparser.py has been modified to re-raise
the exception such that it will be handled by the caller instead of
exitting to the system immediately.
-rw-r--r-- | base/server/python/pki/server/deployment/pkiparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/server/python/pki/server/deployment/pkiparser.py b/base/server/python/pki/server/deployment/pkiparser.py index 8a75b8fe3..d4062bf88 100644 --- a/base/server/python/pki/server/deployment/pkiparser.py +++ b/base/server/python/pki/server/deployment/pkiparser.py @@ -1125,7 +1125,7 @@ class PKIConfigParser: extra=config.PKI_INDENTATION_LEVEL_2) config.pki_log.error(log.PKIHELPER_DICTIONARY_INTERPOLATION_2, err, extra=config.PKI_INDENTATION_LEVEL_2) - sys.exit(1) + raise return |