149
149
# The tracker finds all the references for the selected dates.
150
150
finder = tracker(options)
151
151
references = finder.find_oops_references(
152
prune_from, prune_until, options.project, options.projectgroup)
152
prune_from, datetime.datetime.now(utc), options.project,
153
154
# Then we can delete the unreferenced oopses.
154
155
repo.prune_unreferenced(prune_from, prune_until, references)
155
156
# And finally save the fact we have scanned up to the selected date.