diff options
Diffstat (limited to 'base/deploy/src/scriptlets/pkimanifest.py')
-rw-r--r-- | base/deploy/src/scriptlets/pkimanifest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/deploy/src/scriptlets/pkimanifest.py b/base/deploy/src/scriptlets/pkimanifest.py index 6e2b9c367..b40bf86cc 100644 --- a/base/deploy/src/scriptlets/pkimanifest.py +++ b/base/deploy/src/scriptlets/pkimanifest.py @@ -28,6 +28,7 @@ import sys # PKI Deployment Imports import pkiconfig as config from pkiconfig import PKIConfig +import pkilogging import pkimessages as log @@ -80,7 +81,7 @@ class file: c.writerow(tuple(record)) fd.close() except IOError as exc: - config.pki_log.error(log.PKI_IOERROR_1, exc, + pkilogging.pki_log.error(log.PKI_IOERROR_1, exc, extra=PKIConfig.PKI_INDENTATION_LEVEL_1) sys.exit(1) @@ -92,7 +93,7 @@ class file: print tuple(row) fd.close() except IOError as exc: - config.pki_log.error(log.PKI_IOERROR_1, exc, + pkilogging.pki_log.error(log.PKI_IOERROR_1, exc, extra=PKIConfig.PKI_INDENTATION_LEVEL_1) sys.exit(1) |