diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-06-01 11:02:21 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | a9a41b54c7edb8c81d5f44f0b95373b682bc2499 (patch) | |
tree | 7d97115f5a119276241b33eb1b0f835040165c24 /alot/utils | |
parent | 0b0164b8daeb58fa576c82722a9514dba2e4acac (diff) |
py3k: remove basestring and unicode.
This probably isn't completely right, but it's a start.
Diffstat (limited to 'alot/utils')
-rw-r--r-- | alot/utils/argparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |