Don't log it as an ERROR when a site import fails.  Leave that as a
DEBUG log line.  Not everyone has site implementations for everything,
its not an error.

Signed-off-by: Gregory Smith <[email protected]>

--- autotest/client/common_lib/utils.py 2010-03-30 18:50:13.000000000 -0700
+++ autotest/client/common_lib/utils.py 2010-03-30 18:50:13.000000000 -0700
@@ -1047,7 +1047,7 @@
 
     obj = getattr(module, name, cant_import)
     if obj is cant_import:
-        logging.error("unable to import site symbol '%s', using non-site "
+        logging.debug("unable to import site symbol '%s', using non-site "
                       "implementation", name)
         return dummy
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to