mirror of
https://github.com/samba-team/samba.git
synced 2025-05-28 21:05:48 +03:00
python3: Remove Python 2–only call to decode()
AttributeError: 'str' object has no attribute 'decode' BUG: https://bugzilla.samba.org/show_bug.cgi?id=15852 Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
44548de57a
commit
e40e7fc6bf
@ -1389,7 +1389,7 @@ class DCJoinContext(object):
|
||||
objectAttr = lsa.ObjectAttribute()
|
||||
objectAttr.sec_qos = lsa.QosInfo()
|
||||
|
||||
pol_handle = lsaconn.OpenPolicy2(''.decode('utf-8'),
|
||||
pol_handle = lsaconn.OpenPolicy2('',
|
||||
objectAttr, security.SEC_FLAG_MAXIMUM_ALLOWED)
|
||||
|
||||
info = lsa.TrustDomainInfoInfoEx()
|
||||
|
Loading…
x
Reference in New Issue
Block a user