python-django-compressor/django-compressor-py314-ast.diff
Michel Lind 8da4cb4fea
Fix building with Python 3.14; resolves: rhbz#2322719
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-12-20 16:52:55 -06:00

11 lines
281 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ class VersionFinder(ast.NodeVisitor):
def visit_Assign(self, node):
if node.targets[0].id == "__version__":
- self.version = node.value.s
+ self.version = node.value.value
def read(*parts):