mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 09:53:32 +01:00
Fix errors reported by mypy
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e071df39ab
commit
d8d514a4d1
3 changed files with 4 additions and 3 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue