[Scummvm-git-logs] scummvm master -> 82f636f79356e1c12c826a39b2887167abea654c

sev- noreply at scummvm.org
Tue Nov 22 12:28:08 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
82f636f793 DEVTOOLS: COMPANION: Format using black


Commit: 82f636f79356e1c12c826a39b2887167abea654c
    https://github.com/scummvm/scummvm/commit/82f636f79356e1c12c826a39b2887167abea654c
Author: eientei (einstein95 at users.noreply.github.com)
Date: 2022-11-22T13:28:03+01:00

Commit Message:
DEVTOOLS: COMPANION: Format using black

Changed paths:
    devtools/dumper-companion.py


diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index 731d1367e95..4942702a588 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -376,7 +376,7 @@ def extract_volume(args: argparse.Namespace) -> int:
                     upath.write_bytes(obj.data)
 
                 elif obj.rsrc or force_macbinary:
-                    with upath.open('wb') as out_file:
+                    with upath.open("wb") as out_file:
                         file_to_macbin(out_file, obj, hpath[-1].encode("mac_roman"))
 
                 elif not obj.data and not obj.rsrc:
@@ -718,7 +718,9 @@ def generate_parser() -> argparse.ArgumentParser:
         "--log", metavar="LEVEL", help="set logging level", default="INFO"
     )
     parser_iso.add_argument(
-        "--forcemacbinary", action="store_true", help="always encode using MacBinary, even for files with no resource fork"
+        "--forcemacbinary",
+        action="store_true",
+        help="always encode using MacBinary, even for files with no resource fork",
     )
     parser_iso.add_argument(
         "dir", metavar="OUTPUT", type=Path, help="Destination folder"




More information about the Scummvm-git-logs mailing list