diff options
Diffstat (limited to 'bitbake/lib/toaster/contrib')
-rw-r--r-- | bitbake/lib/toaster/contrib/tts/shellutils.py | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/contrib/tts/urlcheck.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/contrib/tts/shellutils.py b/bitbake/lib/toaster/contrib/tts/shellutils.py index c2012edf83..ce64c06340 100644 --- a/bitbake/lib/toaster/contrib/tts/shellutils.py +++ b/bitbake/lib/toaster/contrib/tts/shellutils.py | |||
@@ -133,7 +133,7 @@ def run_shell_cmd(command, cwd=None): | |||
133 | err = "command: %s \n%s" % (command, out) | 133 | err = "command: %s \n%s" % (command, out) |
134 | else: | 134 | else: |
135 | err = "command: %s \n%s" % (command, err) | 135 | err = "command: %s \n%s" % (command, err) |
136 | config.logger.warn("_shellcmd: error \n%s\n%s", out, err) | 136 | config.logger.warning("_shellcmd: error \n%s\n%s", out, err) |
137 | raise ShellCmdException(err) | 137 | raise ShellCmdException(err) |
138 | else: | 138 | else: |
139 | #config.logger.debug("localhostbecontroller: shellcmd success\n%s" % out) | 139 | #config.logger.debug("localhostbecontroller: shellcmd success\n%s" % out) |
diff --git a/bitbake/lib/toaster/contrib/tts/urlcheck.py b/bitbake/lib/toaster/contrib/tts/urlcheck.py index 0820f82e2a..001fcee96a 100644 --- a/bitbake/lib/toaster/contrib/tts/urlcheck.py +++ b/bitbake/lib/toaster/contrib/tts/urlcheck.py | |||
@@ -26,12 +26,12 @@ def validate_html5(url): | |||
26 | warnings = int(resp['x-w3c-validator-warnings']) | 26 | warnings = int(resp['x-w3c-validator-warnings']) |
27 | 27 | ||
28 | if status == 'Invalid': | 28 | if status == 'Invalid': |
29 | config.logger.warn("Failed %s is %s\terrors %s warnings %s (check at %s)", url, status, errors, warnings, urlrequest) | 29 | config.logger.warning("Failed %s is %s\terrors %s warnings %s (check at %s)", url, status, errors, warnings, urlrequest) |
30 | else: | 30 | else: |
31 | config.logger.debug("OK! %s", url) | 31 | config.logger.debug("OK! %s", url) |
32 | 32 | ||
33 | except Exception as exc: | 33 | except Exception as exc: |
34 | config.logger.warn("Failed validation call: %s", exc) | 34 | config.logger.warning("Failed validation call: %s", exc) |
35 | return (status, errors, warnings) | 35 | return (status, errors, warnings) |
36 | 36 | ||
37 | 37 | ||