From 4a7d4ecbdb1196074004547fc0d770d6711b203f Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Mon, 14 Oct 2024 09:00:23 +0200 Subject: [PATCH] formatting --- cms_static.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cms_static.py b/cms_static.py index 90debc0e2b5..31177b92108 100644 --- a/cms_static.py +++ b/cms_static.py @@ -33,10 +33,11 @@ "siteconf", ] + def get_jenkins(prefix): - jhost = JENKINS_HOST - if prefix=="cms-jenkins": - jhost = CMS_JENKINS_HOST - elif prefix=="dmwm-jenkins": - jhost = DMWM_JENKINS_HOST - return "http://%s.cern.ch:8080/%s" % (jhost, prefix) + jhost = JENKINS_HOST + if prefix == "cms-jenkins": + jhost = CMS_JENKINS_HOST + elif prefix == "dmwm-jenkins": + jhost = DMWM_JENKINS_HOST + return "http://%s.cern.ch:8080/%s" % (jhost, prefix)