We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec8d296 commit bd81e0bCopy full SHA for bd81e0b
1 file changed
src/zeep/wsse/username.py
@@ -2,8 +2,6 @@
2
import hashlib
3
import os
4
5
-import six
6
-
7
from zeep import ns
8
from zeep.wsse import utils
9
@@ -108,7 +106,7 @@ def _create_password_digest(self):
108
106
nonce = os.urandom(16)
109
107
timestamp = utils.get_timestamp(self.created, self.zulu_timestamp)
110
111
- if isinstance(self.password, six.string_types):
+ if isinstance(self.password, str):
112
password = self.password.encode("utf-8")
113
else:
114
password = self.password
0 commit comments