Commit 61af67e3 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Don't reprocess calcs that do not match anymore.

parent b4689fe9
Pipeline #69549 passed with stages
in 18 minutes and 5 seconds
......@@ -188,14 +188,19 @@ class Calc(Proc):
instead of creating it initially, we are just updating the existing
logger = self.get_logger()
parser = match_parser(self.mainfile, self.upload_files, strict=False)
if parser is None:
# Use the upload logger, to not create a log file for this processing.
# We will probably remove these calculations and don't want to be left
# with a ghost log file.
'no parser matches during re-process, use the old parser',
elif self.parser !=
self.errors = ['no matching parser found during re-processing']
logger = self.get_logger()
if self.parser !=
self.parser =
'different parser matches during re-process, use new parser',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment