From 421f995bc704c4de3f501172dfe0ec1e935f432f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20von=20Haller?= Date: Tue, 7 Jan 2025 09:04:33 +0100 Subject: [PATCH] Do not store last execution if we ignored it. --- Framework/script/RepoCleaner/qcrepocleaner/o2-qc-repo-cleaner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/script/RepoCleaner/qcrepocleaner/o2-qc-repo-cleaner b/Framework/script/RepoCleaner/qcrepocleaner/o2-qc-repo-cleaner index f0c6f85b7..6923caf11 100755 --- a/Framework/script/RepoCleaner/qcrepocleaner/o2-qc-repo-cleaner +++ b/Framework/script/RepoCleaner/qcrepocleaner/o2-qc-repo-cleaner @@ -393,7 +393,7 @@ def run(args, ccdb_url, rules): logging.info(f" *** DONE *** (total deleted: {ccdb.counter_deleted}, total updated: {ccdb.counter_validity_updated})") message = datetime.today().strftime('%Y-%m-%d-%H:%M:%S') storeCrucialLog(message + f" - End of the cleaner (total deleted: {ccdb.counter_deleted}, total updated: {ccdb.counter_validity_updated})") - if not args.dry_run: + if not args.dry_run and not args.ignore_last_execution: storeSavedTimestamp() # ****************