[Scummvm-git-logs] scummvm master -> 465f242f0a3ebd7ec7d2c65de1452df7b914b88c

rvanlaar roland at rolandvanlaar.nl
Mon Aug 23 11:26:45 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:
465f242f0a DEVTOOLS: COMPANION: Set last modified time to one from volume


Commit: 465f242f0a3ebd7ec7d2c65de1452df7b914b88c
    https://github.com/scummvm/scummvm/commit/465f242f0a3ebd7ec7d2c65de1452df7b914b88c
Author: einstein95 (einstein95 at users.noreply.github.com)
Date: 2021-08-23T13:26:42+02:00

Commit Message:
DEVTOOLS: COMPANION: Set last modified time to one from volume

Changed paths:
    devtools/dumper-companion.py


diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index ab40bdca3e..044b4e80cf 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -260,6 +260,7 @@ def extract_volume(args: argparse.Namespace) -> int:
             if obj.rsrc:
                 file = file_to_macbin(obj, hpath[-1].encode("mac_roman"))
             upath.write_bytes(file)
+            os.utime(upath, (obj.mddate - 2082844800, obj.mddate - 2082844800))
     return 0
 
 




More information about the Scummvm-git-logs mailing list