From e48fd1ffe3769cf11bf156fcbc9ccffef479e008 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 27 Aug 2024 23:29:56 +0000 Subject: [PATCH] meson_to_hermetic: Code health / lint update Test: Run build--turnip.sh Change-Id: Id73cc43050ceb1593da0a1813cd02c0aeae43c09 --- meson_to_hermetic/README.md | 2 +- meson_to_hermetic/meson_impl.py | 2 +- meson_to_hermetic/meson_to_hermetic.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meson_to_hermetic/README.md b/meson_to_hermetic/README.md index b682002d2e2..26350aad961 100644 --- a/meson_to_hermetic/README.md +++ b/meson_to_hermetic/README.md @@ -1,4 +1,4 @@ -# meson-to-hermetic: automated build system generation +# meson_to_hermetic: automated build system generation Goal: ease the integration of Mesa as a component inside larger projects like Android (AOSP). diff --git a/meson_to_hermetic/meson_impl.py b/meson_to_hermetic/meson_impl.py index 95934dc9e5d..b2c8be5eb78 100644 --- a/meson_to_hermetic/meson_impl.py +++ b/meson_to_hermetic/meson_impl.py @@ -127,7 +127,7 @@ class Dependency: return hash(self.unique_id) def __eq__(self, other): - return self.unique_id == other._unique_id + return self.unique_id == other.unique_id class CommandReturn: diff --git a/meson_to_hermetic/meson_to_hermetic.py b/meson_to_hermetic/meson_to_hermetic.py index 08ccb8aa0e7..21e2a203170 100644 --- a/meson_to_hermetic/meson_to_hermetic.py +++ b/meson_to_hermetic/meson_to_hermetic.py @@ -26,7 +26,6 @@ import meson_impl as impl import tomllib import re -from abc import ABC from pathlib import Path # A map that holds the build-system to build file