key_age = datetime.datetime.now() - key_mtime(staging)
if key_age < staging_time:
return 1
print("Unstaging '{}' to '{}'".format(staging, live))
# unstage the key!
make_backup(keyfile(live))
key_age = datetime.datetime.now() - key_mtime(staging)
if key_age < staging_time:
return 1
print("Unstaging '{}' to '{}'".format(staging, live))
# unstage the key!
make_backup(keyfile(live))