Drop workarounds for Python 3.10 and older

This commit is contained in:
Benjamin A. Beasley 2022-10-15 09:36:54 -04:00
parent ed346894d1
commit 62bda0b241
2 changed files with 1 additions and 5 deletions

View File

@ -6,10 +6,7 @@ from argparse import ArgumentParser, FileType, RawDescriptionHelpFormatter
from pathlib import Path
from sys import exit, stderr
try:
import tomllib
except ImportError:
import tomli as tomllib
import tomllib
def main():

View File

@ -71,7 +71,6 @@ BuildRequires: gcc-c++
# For check-null-licenses
BuildRequires: python3-devel
BuildRequires: (python3dist(tomli) if python3 < 3.11)
%description
This project is a port of http_parser to TypeScript. llparse is used to