From 9d1645cbe32f1454a716c2373f3a84106ad0b6e4 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 16 Oct 2012 18:44:09 -0400 Subject: [PATCH] fixed but in pulling data from dmesg command, wrong function to use as file for for loop Signed-off-by: Brian Coca --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index fee9bad03ab..8120667bb7e 100755 --- a/setup +++ b/setup @@ -444,7 +444,7 @@ class FreeBSDHardware(Hardware): except IOError: dmesg_cmd = subprocess.Popen("/sbin/dmesg", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - dmesg_boot,dmesg_err = dmesg_cmd.communicate() + dmesg_boot = dmesg_cmd.stdout for line in dmesg_boot.readlines(): if 'CPU:' in line: