From 53746b55bae0b95781cb2b265e6967cfd924b465 Mon Sep 17 00:00:00 2001 From: Faustin Lammler Date: Fri, 21 Jun 2024 13:32:08 +0200 Subject: [PATCH] pyupgrade after rebase --- utilities.py | 2 +- utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()