summaryrefslogtreecommitdiffstats
path: root/base/server/python/pki/server/deployment/pkiparser.py
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2013-10-07 18:25:23 -0400
committerEndi S. Dewata <edewata@redhat.com>2013-10-07 18:25:23 -0400
commitf2a85c09689cb09e6a0996125c112552599c717c (patch)
tree08355c39eeacb34b311d8e6c61f9fc83bbad3f7d /base/server/python/pki/server/deployment/pkiparser.py
parent443159f77e87a70bc85ab85f5ad58b9169def88a (diff)
downloadpki-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.
Diffstat (limited to 'base/server/python/pki/server/deployment/pkiparser.py')
-rw-r--r--base/server/python/pki/server/deployment/pkiparser.py2
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