blob: 1dea77f968f73987c379a6d41fc5cf677e02a1a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- setup.py.orig 2020-06-22 23:23:02 UTC
+++ setup.py
@@ -90,8 +90,8 @@ with open(join(here, "html5lib", "__init__.py"), "rb")
if (len(a.targets) == 1 and
isinstance(a.targets[0], ast.Name) and
a.targets[0].id == "__version__" and
- isinstance(a.value, ast.Str)):
- version = a.value.s
+ isinstance(a.value, ast.Constant)):
+ version = a.value
setup(name='html5lib',
version=version,
|