Skip to content

Commit

Permalink
Deprecate the use of <RESIDUAL> in the appsyntax extension
Browse files Browse the repository at this point in the history
  • Loading branch information
aeslaughter authored and milljm committed Sep 10, 2019
1 parent 546ff07 commit 186c0b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python/MooseDocs/extensions/appsyntax.py
Expand Up @@ -201,6 +201,13 @@ def apptype(self):
return self._app_type

def find(self, name, node_type=None):

if name.endswith('<RESIDUAL>'):
msg = "The use of <RESIDUAL> is no longer needed in the syntax name '%s', it " \
"should be removed."
LOG.warning(msg, name)
name = name[0:-10]

try:
if node_type == syntax.ObjectNode:
return self._object_cache[name]
Expand Down

0 comments on commit 186c0b3

Please sign in to comment.