]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Remove unnecessary line continuations 1988/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 18 Oct 2023 10:03:39 +0000 (12:03 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 18 Oct 2023 10:03:39 +0000 (12:03 +0200)
mkosi/qemu.py

index c646d82d0e0469fa7f233f108a5d56c51b32eaba..ba2095b7b8cc4a4a1b7476366ed8aa714fe634d6 100644 (file)
@@ -193,11 +193,11 @@ def start_swtpm() -> Iterator[Path]:
 
             cmdline += ["--ctrl", f"type=unixio,fd={sock.fileno()}"]
 
-            with spawn(\
-                cmdline,\
-                user=INVOKING_USER.uid,\
-                group=INVOKING_USER.gid,\
-                pass_fds=(sock.fileno(),)\
+            with spawn(
+                cmdline,
+                user=INVOKING_USER.uid,
+                group=INVOKING_USER.gid,
+                pass_fds=(sock.fileno(),)
             ) as proc:
                 try:
                     yield path
@@ -254,11 +254,11 @@ def start_virtiofsd(directory: Path, *, uidmap: bool) -> Iterator[Path]:
 
         # virtiofsd has to run unprivileged to use the --uid-map and --gid-map options, so run it as the given
         # user/group if those are provided.
-        with spawn(\
-            cmdline,\
-            user=INVOKING_USER.uid if uidmap else None,\
-            group=INVOKING_USER.gid if uidmap else None,\
-            pass_fds=(sock.fileno(),)\
+        with spawn(
+            cmdline,
+            user=INVOKING_USER.uid if uidmap else None,
+            group=INVOKING_USER.gid if uidmap else None,
+            pass_fds=(sock.fileno(),)
         ) as proc:
             try:
                 yield path