import platform
import subprocess
import re

def processor_name():
	"""Get a descriptive name of the CPU on this computer"""
	if platform.system() == "Windows":
		return platform.processor()
	elif platform.system() == "Darwin":
		command =("sysctl", "-n", "machdep.cpu.brand_string")
		return subprocess.check_output(command).strip()
	elif platform.system() == "Linux":
		command = ("cat", "/proc/cpuinfo")
		all_info = subprocess.check_output(command, shell=True).strip()
		for line in all_info.split("\n"):
			if "model name" in line:
				return re.sub( ".*model name.*:", "", line,1)
	return ""

def node():
	return platform.node()
@@ -158,20 +158,22 @@
 s%22:%0A%09%09re
-turn
+sult =
  platfor
@@ -283,20 +283,22 @@
 g%22)%0A%09%09re
-turn
+sult =
  subproc
@@ -540,20 +540,22 @@
 :%0A%09%09%09%09re
-turn
+sult =
  re.sub(
@@ -591,17 +591,119 @@
 1)%0A%09
-return %22%22
+else:%0A%09%09result = %22unknown system%22%0A%09if isinstance(result, bytes):%0A%09%09return result.decode('UTF-8')%0A%09return result
 %0A%0Ade

return a string