summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/pkimanifest.py
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-11-13 22:31:37 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-14 12:06:49 -0500
commitd5bc2ead8c73943c0053198fb3ba9959a78b2b41 (patch)
treed4a0a56d3e99e82b149ff1a3fa67fc736993b7ae /base/deploy/src/scriptlets/pkimanifest.py
parent7f046ceffe0d3a4f74f6202043790705133e59b6 (diff)
downloadpki-d5bc2ead8c73943c0053198fb3ba9959a78b2b41.tar.gz
pki-d5bc2ead8c73943c0053198fb3ba9959a78b2b41.tar.xz
pki-d5bc2ead8c73943c0053198fb3ba9959a78b2b41.zip
Refactored constants in pkiconfig.py.
The constants in pkiconfig.py have been moved into a new PKIConfig class. All references have been modified accordingly. Ticket #380
Diffstat (limited to 'base/deploy/src/scriptlets/pkimanifest.py')
-rw-r--r--base/deploy/src/scriptlets/pkimanifest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/deploy/src/scriptlets/pkimanifest.py b/base/deploy/src/scriptlets/pkimanifest.py
index 04a638f06..6e2b9c367 100644
--- a/base/deploy/src/scriptlets/pkimanifest.py
+++ b/base/deploy/src/scriptlets/pkimanifest.py
@@ -27,6 +27,7 @@ import sys
# PKI Deployment Imports
import pkiconfig as config
+from pkiconfig import PKIConfig
import pkimessages as log
@@ -80,7 +81,7 @@ class file:
fd.close()
except IOError as exc:
config.pki_log.error(log.PKI_IOERROR_1, exc,
- extra=config.PKI_INDENTATION_LEVEL_1)
+ extra=PKIConfig.PKI_INDENTATION_LEVEL_1)
sys.exit(1)
def read(self):
@@ -92,7 +93,7 @@ class file:
fd.close()
except IOError as exc:
config.pki_log.error(log.PKI_IOERROR_1, exc,
- extra=config.PKI_INDENTATION_LEVEL_1)
+ extra=PKIConfig.PKI_INDENTATION_LEVEL_1)
sys.exit(1)