From: Bob Halley Date: Sat, 23 Aug 2025 19:43:20 +0000 (-0700) Subject: fix repr issue with quotes within quotes X-Git-Tag: v2.8.0rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ed60cec7af02323e163aa0c9972408c803f0748;p=thirdparty%2Fdnspython.git fix repr issue with quotes within quotes --- diff --git a/dns/_features.py b/dns/_features.py index 219ad16c..4447ff99 100644 --- a/dns/_features.py +++ b/dns/_features.py @@ -90,6 +90,6 @@ _requirements: Dict[str, List[str]] = { "doq": ["aioquic>=1.2.0"], "idna": ["idna>=3.10"], "trio": ["trio>=0.30"], - "wmi": ["wmi>=1.5.1; platform_system=="Windows""], + "wmi": ["wmi>=1.5.1; platform_system=='Windows'"], ### END generated requirements } diff --git a/util/generate-features b/util/generate-features index 22eb8759..6c6c8bc5 100755 --- a/util/generate-features +++ b/util/generate-features @@ -21,7 +21,7 @@ with open(FEATURES, "r") as input: if name == "dev": continue print( - f" {repr(name)}: {repr(deps)},".replace("'", '"'), + f" {repr(name)}: {repr(deps)},", file=output, ) skip = True