]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix repr issue with quotes within quotes
authorBob Halley <halley@dnspython.org>
Sat, 23 Aug 2025 19:43:20 +0000 (12:43 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 23 Aug 2025 19:43:20 +0000 (12:43 -0700)
dns/_features.py
util/generate-features

index 219ad16cd58f8e74e2a12faf0c2a85c036d9e179..4447ff995206d574ca3ee9468eb4fce560c25815 100644 (file)
@@ -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
 }
index 22eb875933562244880e2713d0b2e51a16037c77..6c6c8bc5324fcbb35db2e0e3b1aab1bd5de6783c 100755 (executable)
@@ -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