diff options
author | Doug Freed <dwfreed@mtu.edu> | 2016-10-28 10:33:23 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-10-28 10:33:31 -0700 |
commit | 959ee6a2c1d1cb275df9e2d4caed64a8a045cb88 (patch) | |
tree | 7d64e5b1225884fa02148be8f8a83ea6f85ea3cc /thicken-manifests.py | |
parent | Switch to Python3.4. (diff) | |
download | mastermirror-scripts-959ee6a2c1d1cb275df9e2d4caed64a8a045cb88.tar.gz mastermirror-scripts-959ee6a2c1d1cb275df9e2d4caed64a8a045cb88.tar.bz2 mastermirror-scripts-959ee6a2c1d1cb275df9e2d4caed64a8a045cb88.zip |
More Manifest mtime.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'thicken-manifests.py')
-rwxr-xr-x | thicken-manifests.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/thicken-manifests.py b/thicken-manifests.py index 4da598a..b30f119 100755 --- a/thicken-manifests.py +++ b/thicken-manifests.py @@ -126,10 +126,8 @@ def maybe_thicken_manifest(pkg_dir): return # If it changed, write it out if manifest.write(): - if newest_mtime == manifest_mtime: - # portage says the manifest changed, but mtime is supposed to stay the same - # bump the mtime by 1 to be safe - newest_mtime += 1 + # portage says the manifest changed; bump the mtime by 1 to be safe + newest_mtime += 1 if args.sign: try: gpg_sign(manifest.getFullname()) |