From 3d0277105d11418af8468249f470334f4ac00a76 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Mon, 17 Jul 2023 18:12:49 +0200 Subject: [PATCH] Python: remove unnecessary parentheses from if statements --- DDDigi/python/dddigi.py | 2 +- DDG4/python/DDG4.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DDDigi/python/dddigi.py b/DDDigi/python/dddigi.py index 80922be74..4e68c842c 100644 --- a/DDDigi/python/dddigi.py +++ b/DDDigi/python/dddigi.py @@ -24,7 +24,7 @@ def loadDDDigi(): # Try to load libglapi to avoid issues with TLS Static # Turn off all errors from ROOT about the library missing - if('libglapi' not in gSystem.GetLibraries()): + if 'libglapi' not in gSystem.GetLibraries(): orgLevel = ROOT.gErrorIgnoreLevel ROOT.gErrorIgnoreLevel = 6000 gSystem.Load("libglapi") diff --git a/DDG4/python/DDG4.py b/DDG4/python/DDG4.py index f6ff67f58..afccaa280 100644 --- a/DDG4/python/DDG4.py +++ b/DDG4/python/DDG4.py @@ -22,7 +22,7 @@ def loadDDG4(): # Try to load libglapi to avoid issues with TLS Static # Turn off all errors from ROOT about the library missing - if('libglapi' not in gSystem.GetLibraries()): + if 'libglapi' not in gSystem.GetLibraries(): orgLevel = ROOT.gErrorIgnoreLevel ROOT.gErrorIgnoreLevel = 6000 gSystem.Load("libglapi")