tests/posixacl: rm commented code
authorJoe Guo <joeg@catalyst.net.nz>
Wed, 4 Jul 2018 02:52:02 +0000 (14:52 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Jul 2018 02:32:01 +0000 (04:32 +0200)
The example is already in code, no need to keep it here.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13521

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
python/samba/tests/posixacl.py

index 74cabf1bb709e8faee6a33a7a5e71ef616476f2c..38f578e0d35fb7bd733b15f520670382bcb29984 100644 (file)
@@ -28,14 +28,6 @@ import os
 from samba.samba3 import smbd, passdb
 from samba.samba3 import param as s3param
 
-# To print a posix ACL use:
-#        for entry in posix_acl.acl:
-#            print "a_type: %d" % entry.a_type
-#            print "a_perm: %o" % entry.a_perm
-#            if entry.a_type == smb_acl.SMB_ACL_USER:
-#                print "uid: %d" % entry.uid
-#            if entry.a_type == smb_acl.SMB_ACL_GROUP:
-#                print "gid: %d" % entry.gid
 
 class PosixAclMappingTests(TestCaseInTempDir):