mirror of
https://github.com/samba-team/samba.git
synced 2025-07-28 11:42:03 +03:00
python: ntacls, fix a leftover that is not in the try/except branch
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
This commit is contained in:
committed by
Matthias Dieter Wallnöfer
parent
00aeca7d7f
commit
8b4b602e1a
@ -45,7 +45,6 @@ def getntacl(lp,file,backend=None,eadbfile=None):
|
||||
raise
|
||||
eadbname = lp.get("posix:eadb")
|
||||
if eadbname != None and eadbname != "" :
|
||||
attribute = samba.xattr_tdb.wrap_getxattr(eadbname,file,xattr.XATTR_NTACL_NAME)
|
||||
try:
|
||||
attribute = samba.xattr_tdb.wrap_getxattr(eadbname,file,xattr.XATTR_NTACL_NAME)
|
||||
except:
|
||||
|
Reference in New Issue
Block a user