From 96c94f3dde07c954ad2b5ea01bdd5a77846f388c Mon Sep 17 00:00:00 2001
From: MihaMuskinja <miha.muskinja@gmail.com>
Date: Mon, 5 Oct 2020 17:47:14 +0200
Subject: [PATCH] python syntax fix

---
 Simulation/G4Extensions/ExtraParticles/python/PDGParser.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Simulation/G4Extensions/ExtraParticles/python/PDGParser.py b/Simulation/G4Extensions/ExtraParticles/python/PDGParser.py
index 4de1f36931f..d16ef850fbc 100644
--- a/Simulation/G4Extensions/ExtraParticles/python/PDGParser.py
+++ b/Simulation/G4Extensions/ExtraParticles/python/PDGParser.py
@@ -149,8 +149,8 @@ class PDGParser(object):
                         self.extraParticles[name] = ExtraParticle(**kwargs)
                     else:
                         if getattr(self.extraParticles[name], prop) != -1:
-                            self.log.warning("Property %s is already set for particle %s. Current value is %s and incoming value is %s." ,
-                                             (prop, name, getattr(self.extraParticles[name], prop), value))
+                            self.log.warning("Property %s is already set for particle %s. Current value is %s and incoming value is %s." % (
+                                prop, name, getattr(self.extraParticles[name], prop), value))
                             continue
                         setattr(self.extraParticles[name], prop, value)
 
-- 
GitLab