Message ID | 20250829090448.10066-1-martin.jansa@gmail.com |
---|---|
State | New |
Headers | show |
Series | license.py: drop visit_Str | expand |
diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py index ca779d3d83..bd28a247c9 100644 --- a/meta/lib/oe/license.py +++ b/meta/lib/oe/license.py @@ -84,9 +84,6 @@ class FlattenVisitor(LicenseVisitor): self.licenses = [] LicenseVisitor.__init__(self) - def visit_Str(self, node): - self.licenses.append(node.s) - def visit_Constant(self, node): self.licenses.append(node.value) @@ -240,9 +237,6 @@ class ListVisitor(LicenseVisitor): def __init__(self): self.licenses = set() - def visit_Str(self, node): - self.licenses.add(node.s) - def visit_Constant(self, node): self.licenses.add(node.value)