Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Oct 14, 2024
1 parent 5f4da9b commit 4a7d4ec
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cms_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 4a7d4ec

Please sign in to comment.