summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2009-05-13 20:44:58 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2009-05-13 20:44:58 +0000
commitc09d5b90a180ae99b4e43169ef15ed9f43148d22 (patch)
tree159898be615737b63d2d7c2bfbff4147578dae2d /client
parent03223b79841ff21c97a489db33b642a7f9c1e08d (diff)
Summary: Simple conversion of one print statement on base_sysinfo
Signed-off-by: Lucas Meneghel Rodrigues <lookkas@gmail.com> git-svn-id: svn://test.kernel.org/autotest/trunk@3127 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'client')
-rw-r--r--client/bin/base_sysinfo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/bin/base_sysinfo.py b/client/bin/base_sysinfo.py
index 3b17f773..7a052961 100644
--- a/client/bin/base_sysinfo.py
+++ b/client/bin/base_sysinfo.py
@@ -1,4 +1,4 @@
-import os, shutil, re, glob, subprocess
+import os, shutil, re, glob, subprocess, logging
from autotest_lib.client.common_lib import log
from autotest_lib.client.bin import utils, package
@@ -314,7 +314,7 @@ class base_sysinfo(object):
in_messages.close()
out_messages.close()
except Exception, e:
- print "/var/log/messages collection failed with %s" % e
+ logging.error("/var/log/messages collection failed with %s", e)
@staticmethod