Skip to content

Commit 421f995

Browse files
authored
Do not store last execution if we ignored it.
1 parent 686befc commit 421f995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/script/RepoCleaner/qcrepocleaner/o2-qc-repo-cleaner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def run(args, ccdb_url, rules):
393393
logging.info(f" *** DONE *** (total deleted: {ccdb.counter_deleted}, total updated: {ccdb.counter_validity_updated})")
394394
message = datetime.today().strftime('%Y-%m-%d-%H:%M:%S')
395395
storeCrucialLog(message + f" - End of the cleaner (total deleted: {ccdb.counter_deleted}, total updated: {ccdb.counter_validity_updated})")
396-
if not args.dry_run:
396+
if not args.dry_run and not args.ignore_last_execution:
397397
storeSavedTimestamp()
398398

399399
# ****************

0 commit comments

Comments
 (0)