Skip to content
Snippets Groups Projects
Commit 96c94f3d authored by Miha Muskinja's avatar Miha Muskinja
Browse files

python syntax fix

parent 0f40f13d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment