diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:14:37 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:26 +0200 |
commit | 484ce0634b020853edf0c5432e08523884199b1e (patch) | |
tree | 1c8de7cca21637707e8e1ad765b34552cd95ecfc /python/samba/netcmd/ntacl.py | |
parent | 297faf325225e06f9658457513044631d62e3dbe (diff) | |
download | samba-484ce0634b020853edf0c5432e08523884199b1e.tar.gz |
PEP8: fix E123: closing bracket does not match indentation of opening bracket's line
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>
Diffstat (limited to 'python/samba/netcmd/ntacl.py')
-rw-r--r-- | python/samba/netcmd/ntacl.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/python/samba/netcmd/ntacl.py b/python/samba/netcmd/ntacl.py index 5905db622c1..d2a232d8a63 100644 --- a/python/samba/netcmd/ntacl.py +++ b/python/samba/netcmd/ntacl.py @@ -35,7 +35,7 @@ from samba.netcmd import ( CommandError, SuperCommand, Option, - ) +) @@ -48,7 +48,7 @@ class cmd_ntacl_set(Command): "sambaopts": options.SambaOptions, "credopts": options.CredentialsOptions, "versionopts": options.VersionOptions, - } + } takes_options = [ Option("-q", "--quiet", help="Be quiet", action="store_true"), @@ -58,7 +58,7 @@ class cmd_ntacl_set(Command): Option("--use-ntvfs", help="Set the ACLs directly to the TDB or xattr for use with the ntvfs file server", action="store_true"), Option("--use-s3fs", help="Set the ACLs for use with the default s3fs file server via the VFS layer", action="store_true"), Option("--service", help="Name of the smb.conf service to use when applying the ACLs", type="string") - ] + ] takes_args = ["acl","file"] @@ -103,7 +103,7 @@ class cmd_dosinfo_get(Command): "sambaopts": options.SambaOptions, "credopts": options.CredentialsOptions, "versionopts": options.VersionOptions, - } + } takes_args = ["file"] @@ -124,7 +124,7 @@ class cmd_ntacl_get(Command): "sambaopts": options.SambaOptions, "credopts": options.CredentialsOptions, "versionopts": options.VersionOptions, - } + } takes_options = [ Option("--as-sddl", help="Output ACL in the SDDL format", action="store_true"), @@ -134,7 +134,7 @@ class cmd_ntacl_get(Command): Option("--use-ntvfs", help="Get the ACLs directly from the TDB or xattr used with the ntvfs file server", action="store_true"), Option("--use-s3fs", help="Get the ACLs for use via the VFS layer used by the default s3fs file server", action="store_true"), Option("--service", help="Name of the smb.conf service to use when getting the ACLs", type="string") - ] + ] takes_args = ["file"] @@ -179,12 +179,12 @@ class cmd_ntacl_sysvolreset(Command): "sambaopts": options.SambaOptions, "credopts": options.CredentialsOptions, "versionopts": options.VersionOptions, - } + } takes_options = [ Option("--use-ntvfs", help="Set the ACLs for use with the ntvfs file server", action="store_true"), Option("--use-s3fs", help="Set the ACLs for use with the default s3fs file server", action="store_true") - ] + ] def run(self, use_ntvfs=False, use_s3fs=False, credopts=None, sambaopts=None, versionopts=None): @@ -246,7 +246,7 @@ class cmd_ntacl_sysvolcheck(Command): "sambaopts": options.SambaOptions, "credopts": options.CredentialsOptions, "versionopts": options.VersionOptions, - } + } def run(self, credopts=None, sambaopts=None, versionopts=None): lp = sambaopts.get_loadparm() |