mirror of
https://github.com/samba-team/samba.git
synced 2025-12-18 08:23:51 +03:00
PEP8: fix E202: whitespace before ')'
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:
@@ -99,7 +99,7 @@ class cmd_schema_attribute_modify(Command):
|
||||
flags = searchflags.split(',')
|
||||
# We have to normalise all the values. To achieve this predictably
|
||||
# we title case (Fattrindex), then swapcase (fATTINDEX)
|
||||
flags = [x.capitalize().swapcase() for x in flags ]
|
||||
flags = [x.capitalize().swapcase() for x in flags]
|
||||
for flag in flags:
|
||||
if flag not in bitFields['searchflags'].keys():
|
||||
raise CommandError("Unknown flag '%s', please see --help" % flag)
|
||||
|
||||
Reference in New Issue
Block a user