summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-02-19 23:09:57 +0300
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-24 14:50:30 +0100
commit8b4b602e1ac181521442c2bcea7877ee7488fa97 (patch)
tree59c2bcc23c7b8d106a1113a235213da41b77ab63 /source4/scripting/python
parent00aeca7d7f6a940b208e7549e0d7c88f744f1d63 (diff)
downloadsamba-8b4b602e1ac181521442c2bcea7877ee7488fa97.tar.gz
samba-8b4b602e1ac181521442c2bcea7877ee7488fa97.tar.bz2
samba-8b4b602e1ac181521442c2bcea7877ee7488fa97.zip
python: ntacls, fix a leftover that is not in the try/except branch
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/ntacls.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/ntacls.py b/source4/scripting/python/samba/ntacls.py
index 15f310b27d..66af5d5336 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: