From 620aeeb572f9321947aea7fadd1eb38f3a49e558 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 --- library/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/setup b/library/setup index fee9bad03ab..8120667bb7e 100755 --- a/library/setup +++ b/library/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: