mirror of
https://github.com/samba-team/samba.git
synced 2025-12-21 20:23:50 +03:00
PEP8: fix E302: expected 2 blank lines, found 1
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@@ -80,6 +80,7 @@ def checkset_backend(lp, backend, eadbfile):
|
||||
else:
|
||||
raise XattrBackendError("Invalid xattr backend choice %s" %backend)
|
||||
|
||||
|
||||
def getdosinfo(lp, file):
|
||||
try:
|
||||
attribute = samba.xattr_native.wrap_getxattr(file,
|
||||
@@ -89,6 +90,7 @@ def getdosinfo(lp, file):
|
||||
|
||||
return ndr_unpack(xattr.DOSATTRIB, attribute)
|
||||
|
||||
|
||||
def getntacl(lp, file, backend=None, eadbfile=None, direct_db_access=True, service=None):
|
||||
if direct_db_access:
|
||||
(backend_obj, dbname) = checkset_backend(lp, backend, eadbfile)
|
||||
|
||||
Reference in New Issue
Block a user