From 9e10c68532aab640743a1c406c05693b77cb9760 Mon Sep 17 00:00:00 2001 From: "mmachicao@m19r.de" Date: Fri, 14 May 2021 02:21:47 +0200 Subject: [PATCH] removed dependency six.string_types --- imapbackup38.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imapbackup38.py b/imapbackup38.py index aee0a4c..1da3d54 100644 --- a/imapbackup38.py +++ b/imapbackup38.py @@ -55,8 +55,6 @@ import socket import re import hashlib -from six import string_types - class SkipFolderException(Exception): """Indicates aborting processing of current folder, continue with next folder.""" pass @@ -123,7 +121,7 @@ def string_from_file(value): the '@' with a '\' to treat it as a literal. """ - assert isinstance(value, string_types) + assert isinstance(value, str) if not value or value[0] not in ["\\", "@"]: return value