diff options
-rw-r--r-- | cerbero/build/recipe.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cerbero/build/recipe.py b/cerbero/build/recipe.py index 8e4d768b..2e6ea1ff 100644 --- a/cerbero/build/recipe.py +++ b/cerbero/build/recipe.py @@ -165,7 +165,9 @@ class BuildSteps(object): @classmethod def all_names(cls): - members = inspect.getmembers(cls, lambda x: isinstance(x, tuple)) + # In 3.13, __static_attributes__ is a new tuple attribute. Just ignore + # all attributes starting with __. + members = inspect.getmembers(cls, lambda x: isinstance(x, tuple) and x and not x[0].startswith('__')) return tuple(e[1][1] for e in members) |