]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi: adjust comment 744/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 18 Jun 2021 13:42:07 +0000 (15:42 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 18 Jun 2021 13:42:07 +0000 (15:42 +0200)
> This comment is outdated, since we don't use the csv module anywhere.

mkosi/__init__.py

index bd6b7a3a4ae6705fe863ab3006a1a98277858cf1..94299899a6ad597c0461325e187b9c942be31677 100644 (file)
@@ -4277,7 +4277,7 @@ class ListAction(argparse.Action):
             if self.delimiter == "," and values.startswith("[") and values.endswith("]"):
                 values = values[1:-1]
 
-            # Make sure delimiters between quotes are ignored by using the csv module.
+            # Make sure delimiters between quotes are ignored.
             # Inspired by https://stackoverflow.com/a/2787979.
             values = [x.strip() for x in re.split(f"""{self.delimiter}(?=(?:[^'"]|'[^']*'|"[^"]*")*$)""", values) if x]