Fix errors reported by mypy

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-02 09:42:21 +01:00
commit d8d514a4d1
3 changed files with 4 additions and 3 deletions

View file

@ -47,7 +47,7 @@ class Options: # export
slog(ERR, 'Failed to split options string >{}<'.format(opts_str))
raise
for opt_str in opt_strs:
opt_str = re.sub('\s*=\s*', '=', opt_str)
opt_str = re.sub(r'\s*=\s*', '=', opt_str)
sides = opt_str.split('=')
lhs = sides[0].strip()
if not len(lhs):