mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Old python compat
This commit is contained in:
parent
f4b6cc6628
commit
9289ebf9c9
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -292,7 +292,7 @@ int main(void) {
|
|||
|
||||
def is_gcc(cc: Iterable[str]) -> bool:
|
||||
|
||||
@lru_cache
|
||||
@lru_cache()
|
||||
def f(cc: Tuple[str]) -> bool:
|
||||
raw = subprocess.check_output(cc + ('--version',)).decode('utf-8').splitlines()[0]
|
||||
return '(GCC)' in raw.split()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue