donate_cpu_lib.py: fix callstack capture, fix dependency check#3665
donate_cpu_lib.py: fix callstack capture, fix dependency check#3665firewave merged 3 commits intocppcheck-opensource:mainfrom
Conversation
check_requirements: verify that module psutil is available. scan_package: collect crash callstack regardless of cppcheck_path and cppcheck version
| try: | ||
| import psutil | ||
| except ImportError as e: | ||
| print("Error: {}. Module is required. ".format(e)) |
|
Okay. |
We only store this information for head since we do rolling releases from The parameter is better implementation as it removes some logic from the function and makes it clearer what it actually does. 🥳 |
|
Gave it a spin and it works again - see http://cppcheck1.osuosl.org:8000/angband Thanks for the fast reply. |
check_requirements: verify that module psutil is available.
scan_package: collect crash callstack regardless of cppcheck_path and cppcheck version