Skip to content
Permalink
Browse files

Merge pull request #13519 from idaholab/sqa-design-fix

Fix logic bug in missing design file check
  • Loading branch information...
rwcarlsen committed Jun 5, 2019
2 parents b9bb03a + a498483 commit f9e8f169a63836753a7ffd3a967adc1fcdc12489
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/MooseDocs/extensions/sqa.py
@@ -391,10 +391,9 @@ def createLatex(self, parent, token, page):

class RenderSQARequirementDesign(autolink.RenderLinkBase):

def findDesign(self, design, token):
def findDesign(self, design, req):
node = self.translator.findPage(design, throw_on_zero=False)
if node is None:
req = token.parent['requirement']
msg = "Unable to locate the design page: {}\n {}:{}" \
.format(design, req.filename, req.design_line)
LOG.error(msg)

0 comments on commit f9e8f16

Please sign in to comment.
You can’t perform that action at this time.