Skip to content

Commit bd81e0b

Browse files
sbrazmvantellingen
authored andcommitted
Get rid of six
1 parent ec8d296 commit bd81e0b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/zeep/wsse/username.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import hashlib
33
import os
44

5-
import six
6-
75
from zeep import ns
86
from zeep.wsse import utils
97

@@ -108,7 +106,7 @@ def _create_password_digest(self):
108106
nonce = os.urandom(16)
109107
timestamp = utils.get_timestamp(self.created, self.zulu_timestamp)
110108

111-
if isinstance(self.password, six.string_types):
109+
if isinstance(self.password, str):
112110
password = self.password.encode("utf-8")
113111
else:
114112
password = self.password

0 commit comments

Comments
 (0)