Fix building with Python 3.14; resolves: rhbz#2322719
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
This commit is contained in:
parent
66ec10d2b9
commit
8da4cb4fea
2 changed files with 15 additions and 1 deletions
11
django-compressor-py314-ast.diff
Normal file
11
django-compressor-py314-ast.diff
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- 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):
|
||||
Loading…
Add table
Add a link
Reference in a new issue