From 59c52ef2cfa4e7ca065cceafcf290be67e097870 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 28 Oct 2024 09:36:28 +1100 Subject: [PATCH] Cleanup: remove unused import in CLI example --- doc/python_api/examples/bpy.utils.register_cli_command.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/python_api/examples/bpy.utils.register_cli_command.py b/doc/python_api/examples/bpy.utils.register_cli_command.py index c8b5012c156..dcba8b34e5a 100644 --- a/doc/python_api/examples/bpy.utils.register_cli_command.py +++ b/doc/python_api/examples/bpy.utils.register_cli_command.py @@ -66,8 +66,6 @@ def sysinfo_print(): def sysinfo_command(argv): - import tempfile - if argv and argv[0] == "--help": print("Print system information & exit!") return 0