From 8b4b602e1ac181521442c2bcea7877ee7488fa97 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Fri, 19 Feb 2010 23:09:57 +0300 Subject: [PATCH] python: ntacls, fix a leftover that is not in the try/except branch MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Dieter Wallnöfer --- source4/scripting/python/samba/ntacls.py | 1 - 1 file changed, 1 deletion(-) diff --git a/source4/scripting/python/samba/ntacls.py b/source4/scripting/python/samba/ntacls.py index 15f310b27dd..66af5d5336e 100644 --- a/source4/scripting/python/samba/ntacls.py +++ b/source4/scripting/python/samba/ntacls.py @@ -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: -- 2.11.4.GIT