diff --git a/src/zeep/wsse/username.py b/src/zeep/wsse/username.py index bb9b4cd04..da448b445 100644 --- a/src/zeep/wsse/username.py +++ b/src/zeep/wsse/username.py @@ -2,8 +2,6 @@ import hashlib import os -import six - from zeep import ns from zeep.wsse import utils @@ -108,7 +106,7 @@ def _create_password_digest(self): nonce = os.urandom(16) timestamp = utils.get_timestamp(self.created, self.zulu_timestamp) - if isinstance(self.password, six.string_types): + if isinstance(self.password, str): password = self.password.encode("utf-8") else: password = self.password