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 {}