Skip to content

Commit

Permalink
Merge pull request #26 from sot/rh8
Browse files Browse the repository at this point in the history
Fix for rh8 (env vars that are functions)
  • Loading branch information
javierggt authored May 27, 2022
2 parents 3d2c2b0 + ca23140 commit e6094b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ska/Shell/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _parse_keyvals(keyvals):
re_keyval = re.compile(r'([\w_]+) \s* = \s* (.*)', re.VERBOSE)
keyvalout = {}
for keyval in keyvals:
m = re.search(re_keyval, keyval.strip())
m = re.match(re_keyval, keyval.rstrip())
if m:
key, val = m.groups()
keyvalout[key] = val
Expand Down

0 comments on commit e6094b7

Please sign in to comment.