diff --git a/utilities.py b/utilities.py index 6e1604b9..60a9c100 100644 --- a/utilities.py +++ b/utilities.py @@ -15,7 +15,7 @@ def checkoutUsingGitWorktree(): "bash", "-xc", util.Interpolate( - """ + r""" d=/mnt/packages/ cd "$d" revision="%(prop:revision)s" diff --git a/utils.py b/utils.py index 55817fd7..9797e560 100644 --- a/utils.py +++ b/utils.py @@ -707,5 +707,5 @@ def getMetric(hostname, metric): def read_template(template_name): - with open(f"/srv/buildbot/master/script_templates/{template_name}.sh", "r") as f: + with open(f"/srv/buildbot/master/script_templates/{template_name}.sh") as f: return f.read()