From bc3d6545042f44b1661e7483cdf3c77fad71e254 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 20 Jan 2022 19:00:24 +0000 Subject: [PATCH] scripts/machine-summary: remove obsolete is_old test This test isn't used any more, so remove it. Signed-off-by: Ross Burton --- scripts/machine-summary.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/machine-summary.py b/scripts/machine-summary.py index 1f98f247..5e66cc1b 100755 --- a/scripts/machine-summary.py +++ b/scripts/machine-summary.py @@ -154,12 +154,6 @@ class Format: trim_blocks=True, lstrip_blocks=True ) - def is_old(version, upstream): - if "+git" in version: - # strip +git and see if this is a post-release snapshot - version = version.replace("+git", "") - return version != upstream - env.tests["old"] = is_old return env.get_template(name)