mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Fix regression in setup.py
This commit is contained in:
2
setup.py
2
setup.py
@@ -1778,7 +1778,7 @@ def package(args: Options, bundle_type: str, do_build_all: bool = True) -> None:
|
||||
return raw
|
||||
tname = type(defval).__name__
|
||||
if tname == 'frozenset':
|
||||
tname = 'typing.FrozenSet[str]'
|
||||
tname = 'frozenset[str]'
|
||||
prefix = f'{name}: {tname} ='
|
||||
nraw = raw.replace(f'{prefix} {defval!r}', f'{prefix} {val!r}', 1)
|
||||
if nraw == raw:
|
||||
|
||||
Reference in New Issue
Block a user