general: fix lint

This commit is contained in:
Dylan Araps 2018-10-17 15:26:11 +11:00
parent 87944f7402
commit b7ed103eaa

View File

@ -106,7 +106,7 @@ def parse_args_exit(parser):
"""Process args that exit."""
args = parser.parse_args()
if not len(sys.argv) > 1:
if len(sys.argv) <= 1:
parser.print_help()
sys.exit(1)