netcmd: PEP8: minor whitespace fix, file did not pass PEP8
authorRob van der Linde <rob@catalyst.net.nz>
Thu, 5 Oct 2023 00:47:11 +0000 (13:47 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 24 Oct 2023 23:31:29 +0000 (23:31 +0000)
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/__init__.py

index ed678074bcba8a43cef55df58af6d40d042e33ce..81f8d68b9e07d8266eaa196d60b3ba8a1224a5f7 100644 (file)
@@ -339,7 +339,7 @@ class SuperCommand(Command):
                 sub = self.subcommands[a]
                 return sub._resolve(sub_path, *sub_args, outf=outf, errf=errf)
 
-            elif a in [ '--help', 'help', None, '-h', '-V', '--version' ]:
+            elif a in ['--help', 'help', None, '-h', '-V', '--version']:
                 # we pass these to the leaf node.
                 if a == 'help':
                     a = '--help'