diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2021-05-05 07:38:04 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2021-05-05 07:38:04 +0300 |
commit | 08f4bab658cd8c930450c11862540ff2da434151 (patch) | |
tree | 9c414c4f2486868a2aabb478fb6288c656eb281b /release | |
parent | 20aed341ee76e9d43049f185d28bfc8f19cc34a9 (diff) |
System info: add OS version to sys_info.py
Match the output to the prefilled bug report script's output.
Make the output file self-contained.
Reviewed By: lichtwerk
Differential Revision: https://developer.blender.org/D11144
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/sys_info.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/modules/sys_info.py b/release/scripts/modules/sys_info.py index cb80529f0f3..5116e0f0088 100644 --- a/release/scripts/modules/sys_info.py +++ b/release/scripts/modules/sys_info.py @@ -23,6 +23,7 @@ def write_sysinfo(filepath): import sys + import platform import subprocess @@ -63,7 +64,7 @@ def write_sysinfo(filepath): )) output.write("build date: %s, %s\n" % (prepr(bpy.app.build_date), prepr(bpy.app.build_time))) - output.write("platform: %s\n" % prepr(bpy.app.build_platform)) + output.write("platform: %s\n" % prepr(platform.platform())) output.write("binary path: %s\n" % prepr(bpy.app.binary_path)) output.write("build cflags: %s\n" % prepr(bpy.app.build_cflags)) output.write("build cxxflags: %s\n" % prepr(bpy.app.build_cxxflags)) |