s4-python: Various formatting fixes.
[obnox/samba/samba-obnox.git] / source4 / scripting / python / samba / netcmd / __init__.py
index 358167806a8790c08ad431a89f7ef666efbacd98..c542dc61f58b65f176b29d1321cefeba48b68c4e 100644 (file)
@@ -158,7 +158,7 @@ class Command(object):
                undetermined_max_args = True
             else:
                max_args += 1
-        if (len(args) < min_args) or (undetermined_max_args == False and len(args) > max_args):
+        if (len(args) < min_args) or (not undetermined_max_args and len(args) > max_args):
             parser.print_usage()
             return -1