Skip to content

Commit

Permalink
One split per line for MOOSE inputs.
Browse files Browse the repository at this point in the history
#792

The MOOSE input line is now only split once with the left most `=` being
used.

Closes #792
  • Loading branch information
Xenon committed Sep 17, 2018
1 parent da4ec50 commit 2765b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/CodeInterfaces/MooseBasedApp/MOOSEparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, inputFile):
if not line.startswith(b'#'):
ind = line.find(b'=')
if ind != -1:
listLine = line.split(b'=')
listLine = line.split(b'=', 1)
attribName = listLine[0].strip()
if b'#' not in listLine[1]:
attribValue = listLine[1].strip()
Expand Down

0 comments on commit 2765b41

Please sign in to comment.