diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-03-24 12:11:29 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-03-24 12:13:14 +0100 |
commit | 3069ed97314d524296e31fab39833d4af9cf1e19 (patch) | |
tree | 815497c3c545f373577404ce19288fffbae928e2 /vnfs/DAaaS/microservices/PythonApps | |
parent | 7c69a61c7db9d75d5bee3529533295bba37779ab (diff) |
Fix unused varbiales pylint warnings
Change-Id: I3f76a82d276c75f20453a9306b4f9964d90b5179
Issue-ID: INT-1482
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'vnfs/DAaaS/microservices/PythonApps')
-rw-r--r-- | vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py b/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py index 43303761..6de868b7 100644 --- a/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py +++ b/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py @@ -23,8 +23,7 @@ class CustomKafkaProducer: ) self.producer.flush() - except Exception as e: - #print("Error during producing to kafka topic. Stacktrace is %s",e) + except Exception: logging.error("Error during producing to kafka topic.") traceback.print_exc() |