Skip to content

Commit

Permalink
Allow colons as part of option values
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
  • Loading branch information
cniethammer committed May 19, 2020
1 parent 22a3538 commit 58fe5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, filnam):
l = f.readline()
while len(l):
if l[0]!='#':
itmlst = l.split( ":")
itmlst = l.split( ":", 1)
if len(itmlst)==2:
self.m_params[itmlst[0].strip()] = itmlst[1].strip()

Expand Down

0 comments on commit 58fe5df

Please sign in to comment.