Fix bogus type errors dug up by mypy

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2024-06-02 12:05:44 +02:00
commit 27813efc04
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import shlex
# --- python 2 / 3 compatibility stuff
try:
basestring
basestring # type: ignore
except NameError:
basestring = str

View file

@ -10,7 +10,7 @@ from . import misc
# --- python 2 / 3 compatibility stuff
try:
basestring
basestring # type: ignore
except NameError:
basestring = str