summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/pkiconfig.py
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-11-13 23:18:52 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-14 12:58:53 -0500
commit5d36cbb886c9baa9496665630b5af0be5919936b (patch)
tree7670007081406a5ac9cf0e166b192097ab4d58ed /base/deploy/src/scriptlets/pkiconfig.py
parent65bbd0047143141b8d2d031dcf452aaeded8e8cf (diff)
downloadpki-ticket-399-1.tar.gz
pki-ticket-399-1.tar.xz
pki-ticket-399-1.zip
Refactored str2bool().ticket-399-1
The str2bool() in pkiconfig.py has been moved into pkihelper.py for better clarity. Ticket #380
Diffstat (limited to 'base/deploy/src/scriptlets/pkiconfig.py')
-rw-r--r--base/deploy/src/scriptlets/pkiconfig.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/base/deploy/src/scriptlets/pkiconfig.py b/base/deploy/src/scriptlets/pkiconfig.py
index 2544aa6cf..ee35010a6 100644
--- a/base/deploy/src/scriptlets/pkiconfig.py
+++ b/base/deploy/src/scriptlets/pkiconfig.py
@@ -136,10 +136,6 @@ pki_deployed_instance_name = None
pki_root_prefix = None
-# PKI Deployment Helper Functions
-def str2bool(string):
- return string.lower() in ("yes", "true", "t", "1")
-
# NOTE: To utilize the 'preparations_for_an_external_java_debugger(master)'
# and 'wait_to_attach_an_external_java_debugger(master)' functions,
# change 'pki_enable_java_debugger=False' to