mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 09:53:32 +01:00
Fix bogus type errors dug up by mypy
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
7888b2cff4
commit
27813efc04
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import shlex
|
|||
|
||||
# --- python 2 / 3 compatibility stuff
|
||||
try:
|
||||
basestring
|
||||
basestring # type: ignore
|
||||
except NameError:
|
||||
basestring = str
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ from . import misc
|
|||
|
||||
# --- python 2 / 3 compatibility stuff
|
||||
try:
|
||||
basestring
|
||||
basestring # type: ignore
|
||||
except NameError:
|
||||
basestring = str
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue