mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-06 02:40:18 +00:00
scripts/machine-summary: remove obsolete is_old test
This test isn't used any more, so remove it. Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user