Skip to content

Commit 7873548

Browse files
committed
odd warning, go away
1 parent e9c43b3 commit 7873548

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyperformance/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ def _main():
387387
elif action == "show":
388388
cmd_venv_show(options, root)
389389
else:
390-
print(f"ERROR: unsupported venv command action {action!r}")
390+
if action is not None:
391+
print(f"ERROR: unsupported venv command action {action!r}")
391392
parser.print_help()
392393
sys.exit(1)
393394
elif options.action == "compile":

0 commit comments

Comments
 (0)