diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-02-01 13:14:38 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-02-01 13:14:38 -0800 |
commit | a490854436133d7cb5468dc34ead1e1ddbe87e7d (patch) | |
tree | 0b76c00439d5e3e2adeae7acd7cc56ec647ea73f /thicken-manifests.py | |
parent | snapshots-create: be explicit about filenames for xz. (diff) | |
download | mastermirror-scripts-a490854436133d7cb5468dc34ead1e1ddbe87e7d.tar.gz mastermirror-scripts-a490854436133d7cb5468dc34ead1e1ddbe87e7d.tar.bz2 mastermirror-scripts-a490854436133d7cb5468dc34ead1e1ddbe87e7d.zip |
thicken-manifests: Manifest mtime tweak from dwfreed.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'thicken-manifests.py')
-rwxr-xr-x | thicken-manifests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/thicken-manifests.py b/thicken-manifests.py index db52bdc..d9dd231 100755 --- a/thicken-manifests.py +++ b/thicken-manifests.py @@ -129,7 +129,8 @@ def maybe_thicken_manifest(pkg_dir): gpg_sign(manifest.getFullname()) except: logger.exception("%s Exception thrown during GPG signing", pkg_dir) - os.utime(manifest.getFullname(), (newest_mtime, newest_mtime)) + # Always reset mtime on manifest + os.utime(manifest.getFullname(), (newest_mtime, newest_mtime)) def main(): |