From 3ef163033c80353cab4499f32873478b8030b4bb Mon Sep 17 00:00:00 2001 From: Valentin Kuznetsov Date: Tue, 25 Apr 2023 08:23:18 -0400 Subject: [PATCH] Add space based on pep8 suggestion --- src/python/WMCore/MicroService/MSPileup/MSPileupMonitoring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/WMCore/MicroService/MSPileup/MSPileupMonitoring.py b/src/python/WMCore/MicroService/MSPileup/MSPileupMonitoring.py index 74618a15bfa..fd524612ec0 100644 --- a/src/python/WMCore/MicroService/MSPileup/MSPileupMonitoring.py +++ b/src/python/WMCore/MicroService/MSPileup/MSPileupMonitoring.py @@ -102,7 +102,7 @@ def uploadToAMQ(self, docs, producer=None): msg = "%i out of %i documents successfully sent to AMQ" % (len(notifications) - len(failures), len(notifications)) self.logger.info(msg) - return {"success": len(notifications)-len(failures), "failures": len(failures)} + return {"success": len(notifications) - len(failures), "failures": len(failures)} except Exception as ex: self.logger.exception("Failed to send data to StompAMQ. Error %s", str(ex)) return {}