diff --git a/check-null-licenses b/check-null-licenses index bf3d7d4..9a62acc 100755 --- a/check-null-licenses +++ b/check-null-licenses @@ -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(): diff --git a/llhttp.spec b/llhttp.spec index 042378b..8423fba 100644 --- a/llhttp.spec +++ b/llhttp.spec @@ -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