mirror of
https://github.com/samba-team/samba.git
synced 2025-12-19 12:23:49 +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:
committed by
Jo Sutton
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()
|
||||
|
||||
Reference in New Issue
Block a user