diff options
Diffstat (limited to 'dmaap/dmaapplugin/__init__.py')
-rw-r--r-- | dmaap/dmaapplugin/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dmaap/dmaapplugin/__init__.py b/dmaap/dmaapplugin/__init__.py index 24466e9..ac988a4 100644 --- a/dmaap/dmaapplugin/__init__.py +++ b/dmaap/dmaapplugin/__init__.py @@ -20,7 +20,6 @@ from consulif.consulif import ConsulHandle from cloudify.exceptions import NonRecoverableError import os -import pkcrypto os.environ["REQUESTS_CA_BUNDLE"]="/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt" # This is to handle https request thru plugin @@ -44,7 +43,7 @@ except Exception as e: raise NonRecoverableError("Error setting DMAAP_USER while configuring dmaap plugin: {0}".format(e)) try: - DMAAP_PASS = pkcrypto.decrypt_obj(config['dmaap']['password']) + DMAAP_PASS = config['dmaap']['password'] except Exception as e: raise NonRecoverableError("Error setting DMAAP_PASS while configuring dmaap plugin: {0}".format(e)) |