From a9a41b54c7edb8c81d5f44f0b95373b682bc2499 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 1 Jun 2017 11:02:21 -0700 Subject: py3k: remove basestring and unicode. This probably isn't completely right, but it's a start. --- alot/utils/argparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot/utils/argparse.py') diff --git a/alot/utils/argparse.py b/alot/utils/argparse.py index ff19030c..9822882d 100644 --- a/alot/utils/argparse.py +++ b/alot/utils/argparse.py @@ -52,7 +52,7 @@ def _path_factory(check): @functools.wraps(check) def validator(paths): - if isinstance(paths, basestring): + if isinstance(paths, str): check(paths) elif isinstance(paths, collections.Sequence): for path in paths: -- cgit v1.2.3