old_contents: import platform
  import sys
  import distro
  
  
  def collect():
      system = platform.system()
  
      if system == "Windows":
          version = sys.getwindowsversion()
  
          return {
              "os": "windows",
              "windows_version_build": version.build,
              "windows_version_major": version.major,
              "windows_version_minor": version.minor,
              "windows_version_service_pack": version.service_pack,
          }
  
      if system == "Darwing":
          return {"os": "mac", "mac_version": platform.mac_ver()[0]}
  
      if system == "Linux":
          return {
              "os": "linux",
              "linux_distro": distro.id(),
              "linux_distro_like": distro.like(),
              "linux_distro_version": distro.version(),
          }
  
new_contents: import platform
  import sys
  import distro
  
  
  def collect():
      system = platform.system()
  
      if system == "Windows":
          version = sys.getwindowsversion()
  
          return {
              "os": "windows",
              "windows_version_build": version.build,
              "windows_version_major": version.major,
              "windows_version_minor": version.minor,
              "windows_version_service_pack": version.service_pack,
          }
  
      if system == "Darwing":
          return {"os": "mac", "mac_version": platform.mac_ver()[0]}
  
      if system == "Linux":
          return {
              "os": "linux",
              "linux_distro": distro.id(),
              "linux_distro_like": distro.like(),
              "linux_distro_version": distro.version(),
          }
  
      return {"os": system.lower()}
  
subject: return OS when system info not supported