[Scummvm-git-logs] scummvm master -> 7def925d9c6c48d4a0bb4ad17ed2a376026a3fea

sev- sev at scummvm.org
Fri Oct 22 11:04:59 UTC 2021


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:
7def925d9c DEVTOOLS: dumper-companion: work around bug


Commit: 7def925d9c6c48d4a0bb4ad17ed2a376026a3fea
    https://github.com/scummvm/scummvm/commit/7def925d9c6c48d4a0bb4ad17ed2a376026a3fea
Author: Misty De Meo (mistydemeo at gmail.com)
Date: 2021-10-22T13:04:54+02:00

Commit Message:
DEVTOOLS: dumper-companion: work around bug

Changed paths:
    devtools/dumper-companion.py


diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index a84c70194f..cf3da2092e 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -481,7 +481,10 @@ def generate_parser() -> argparse.ArgumentParser:
 if __name__ == "__main__":
     parser = generate_parser()
     args = parser.parse_args()
-    exit(args.func(args))
+    try:
+        exit(args.func(args))
+    except AttributeError:
+        parser.error("too few arguments")
 
 ### Test functions
 




More information about the Scummvm-git-logs mailing list